Posts

Showing posts from October, 2009

Bash Single Line For Loop Example

Here is a example of a for each loop in a single line in Bash # for hi in 1 2 ; do echo $hi; echo "wow"; done; 1 wow 2 wow #