diff options
Diffstat (limited to 'languages/bash/app_templates/bashhello/app.sh')
-rw-r--r-- | languages/bash/app_templates/bashhello/app.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/languages/bash/app_templates/bashhello/app.sh b/languages/bash/app_templates/bashhello/app.sh new file mode 100644 index 00000000..9e70bd5f --- /dev/null +++ b/languages/bash/app_templates/bashhello/app.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# $Id$ +# %{APPNAME} - Copyright (C) %{YEAR} %{AUTHOR} <%{EMAIL}> + + +hello() +{ + echo "Hello $NAME" +} + +echo "This is a test" + +LST="Ian Ben Rook Kaz" +for NAME in $LST +do + hello +done |