Comments
 
posted on March 28th 2013, at 14:15
by lunarg

You can change the delimiter of a for-loop by changing the value of the global variable $IFS. By default this is set to a space.

For example, if you want the delimiter to be a new line, set it like so:

IFS=$'n'
 
 
« March 2024»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      
 
Links
 
Quote
« I needed a password with eight characters so I picked Snow White and the Seven Dwarves. »