Question on the IFS variable (not a FreeBSD question)

Rakhesh Sasidharan rakhesh at rakhesh.com
Sun Aug 12 21:19:56 PDT 2007


Robert Huff wrote:
>>  A bit of Google searching got me the solution too. That I must set IFS this
>>  way:
>>
>>  IFS=$'\n'
>
> 	It is also possible to use:
>
> IFS="
> "
>
> 	with the default shell; this has been (personally) confirmed
> within the least few weeks

Hmm, yeah, that too should work. Will try that sometime.

Thank you,
Rakhesh


More information about the freebsd-questions mailing list