[ILUG] Spaces in arguments in a bash for loop

Stephen Shirley diamond at csn.ul.ie
Fri Nov 3 11:50:12 GMT 2000


On Fri, 3 Nov 2000, Stephen Shirley wrote:

> IFS='^V^M'
> 
> where ^V means pressing ctrl+v
> and ^M means just hitting return.
> 
> Steve
> 
Hmm - that explanation was a bit misleading.
Right - 2nd attempt:

IFS='^M'

where ^M is gotten by pressing ctrl+v
followed by hitting return.

There. That's better.

Steve





More information about the ILUG mailing list