Adding more demo files

This commit is contained in:
Tyler Akins
2015-01-28 09:44:44 -06:00
parent bc838de550
commit 6a6aadca50
5 changed files with 75 additions and 3 deletions

9
demo/using-arrays Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
cd "$(dirname "$0")" # Go to the script's directory
export ARRAY=( one two "three three three" four five )
cat << EOF | . ../mo
Here are the items in the array:
{{#ARRAY}}
* {{.}}
{{/ARRAY}}
EOF