This commit is contained in:
Rutger van Beusekom 2016-09-17 21:31:36 +02:00
parent cb204e16c0
commit fcfabb096d
8 changed files with 13 additions and 0 deletions

4
test/case Normal file
View File

@ -0,0 +1,4 @@
case "$1" in
1) echo foo;;
*) echo bar;;
esac

1
test/for Normal file
View File

@ -0,0 +1 @@
for f in *; do echo $f | grep c; done

1
test/ifthen Normal file
View File

@ -0,0 +1 @@
if ls * | grep foo; then echo ok; fi

3
test/iohere Normal file
View File

@ -0,0 +1,3 @@
cat <<EOF
foobar
EOF

1
test/ls Normal file
View File

@ -0,0 +1 @@
ls

1
test/pipe Normal file
View File

@ -0,0 +1 @@
echo a b c | grep -v a | cat

1
test/substitution Normal file
View File

@ -0,0 +1 @@
$(ls)

1
test/test Normal file
View File

@ -0,0 +1 @@
if [ -e foo ] && [ -e bar ]; then echo exists; fi