langs a-z

This commit is contained in:
Ingy döt Net 2013-04-10 22:43:41 -07:00
parent db842d013d
commit d066446780
11389 changed files with 98361 additions and 1020 deletions

View file

@ -0,0 +1 @@
exec ls

View file

@ -0,0 +1 @@
output=`ls`

View file

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

View file

@ -0,0 +1,2 @@
output=`expr \`echo hi | wc -c\` - 1`
output=$(expr $(echo hi | wc -c) - 1)

View file

@ -0,0 +1,2 @@
echo "Found: `grep 80/tcp /etc/services`"
echo "Found: $(grep 80/tcp /etc/services)"

View file

@ -0,0 +1,2 @@
ls # run command, return to shell
exec ls # replace shell with command

View file

@ -0,0 +1,3 @@
set output=( "`grep 80/ /etc/services`" )
echo "Line 1: $output[1]"
echo "Line 2: $output[2]"