1 2 3 4 5 6 7
i=0; while [ $i -lt 100 ]; do i=$((i+1)); x=$(echo $i); done y=$(printf '%s' abc); z=$(pwd); t=$(test -d /) case $x in 100) echo ok;; esac echo $x | { read v; echo $v; } echo a b | while read p q; do echo $q; done f() { echo fn; }; f >/dev/null echo "$(<"$0")" >/dev/null