Initial commit.

This commit is contained in:
yan
2011-11-17 15:45:33 -06:00
commit 882015bc6d
1819 changed files with 111625 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do
${3:#statements}
done

View File

@@ -0,0 +1,4 @@
for ${1:i} in ${!${2:Array}[@]}
do
echo "${$2[$1]}"
done

View File

@@ -0,0 +1,3 @@
for ${1:var} in $${2:list}; do
echo "$$1"
done

View File

@@ -0,0 +1,5 @@
numargs=$#
for ((i=1 ; i <= numargs ; i++)); do
echo "$1"
shift
done

View File

@@ -0,0 +1,4 @@
for ${1:i} in {${2:1}..${3:10}}
do
echo "$$1"
done