Changing the IFS in sh.
Chet Ramey
chet at odin.INS.CWRU.Edu
Sat Jun 8 07:05:05 AEST 1991
>I know how to change the IFS in the Bourne Shell to "::", say,
>BUT I would like to change it from "<space><tab><newline>"
>to "<newline>". Is this possible ? I've tried IFS="\013"
>& IFS="\n" to no avail.
Try
IFS='
'
where there is a literal newline between the single quotes.
Chet
--
``You shoot John Sununu. Twice.''
Chet Ramey Internet: chet at po.CWRU.Edu
Case Western Reserve University NeXT Mail: chet at macbeth.INS.CWRU.Edu
More information about the Comp.unix.shell
mailing list