summaryrefslogtreecommitdiff
path: root/testapp/yaksh_app/bash_files
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-09-04 18:57:57 +0530
committerPrabhu Ramachandran2015-09-04 18:57:57 +0530
commit31f5e743031d105b0406e9587dc33bb065cd6e4d (patch)
tree653fbd703850e1e12f875bc5422ec3cb809c6e07 /testapp/yaksh_app/bash_files
parentc9abbadbb0e6a4a60edb7ef2a14d6c74648b0677 (diff)
parent3ee050fe509b83f36188566ee57b3dd16d94a8a7 (diff)
downloadonline_test-31f5e743031d105b0406e9587dc33bb065cd6e4d.tar.gz
online_test-31f5e743031d105b0406e9587dc33bb065cd6e4d.tar.bz2
online_test-31f5e743031d105b0406e9587dc33bb065cd6e4d.zip
Merge pull request #55 from ankitjavalkar/yaksh
Change app name to yaksh
Diffstat (limited to 'testapp/yaksh_app/bash_files')
-rw-r--r--testapp/yaksh_app/bash_files/sample.args2
-rwxr-xr-xtestapp/yaksh_app/bash_files/sample.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/testapp/yaksh_app/bash_files/sample.args b/testapp/yaksh_app/bash_files/sample.args
new file mode 100644
index 0000000..4d9f00d
--- /dev/null
+++ b/testapp/yaksh_app/bash_files/sample.args
@@ -0,0 +1,2 @@
+1 2
+2 1
diff --git a/testapp/yaksh_app/bash_files/sample.sh b/testapp/yaksh_app/bash_files/sample.sh
new file mode 100755
index 0000000..e935cb3
--- /dev/null
+++ b/testapp/yaksh_app/bash_files/sample.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+[[ $# -eq 2 ]] && echo $(( $1 + $2 )) && exit $(( $1 + $2 ))