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

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'
 
 
« June 2025»
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
2930     
 
Links
 
Quote
« Debating Windows vs. Linux vs. Mac is pointless: they all have their merits and flaws, and it ultimately comes to down to personal preference. »
Me