Bash dla pętli wiele poleceń One wiersz

# Basic syntax:
for i in a b; do echo $i; printf "$i\t$i\n"; done
# Where:
#	- each command in the for loop needs to be separated by semicolons. Here
#		we echo $i and then print $i<tab>$i<newline>
#	- over several lines this would be equivalent to:
for i in a b
do
  echo $i
  printf "$i\t$i\n"
done
Charles-Alexandre Roy