For loops, Spaces in values

Biedermann, Frank (SSABSA) frank at ssabsa.sa.gov.au
Tue Nov 28 00:57:19 CST 2006


> 
> IFS I think..

That's what it is in awk - not sure if it's the same in Bash. Ah, it is
according to a quick Google:

# Set IFS to newline only. See BASH(1) manpage for details on IFS.
IFS=$'\n'

HTH,

Frank



More information about the linuxsa mailing list