diff options
Diffstat (limited to 'testapp/yaksh/bash_files')
-rw-r--r-- | testapp/yaksh/bash_files/sample.args | 2 | ||||
-rwxr-xr-x | testapp/yaksh/bash_files/sample.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testapp/yaksh/bash_files/sample.args b/testapp/yaksh/bash_files/sample.args new file mode 100644 index 0000000..4d9f00d --- /dev/null +++ b/testapp/yaksh/bash_files/sample.args @@ -0,0 +1,2 @@ +1 2 +2 1 diff --git a/testapp/yaksh/bash_files/sample.sh b/testapp/yaksh/bash_files/sample.sh new file mode 100755 index 0000000..e935cb3 --- /dev/null +++ b/testapp/yaksh/bash_files/sample.sh @@ -0,0 +1,2 @@ +#!/bin/bash +[[ $# -eq 2 ]] && echo $(( $1 + $2 )) && exit $(( $1 + $2 )) |