Changing the IFS in sh.

Shaun McCullagh CMP RA sm at sys.uea.ac.uk
Sat Jun 8 04:48:04 AEST 1991


Hi,

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.

I be grateful if somebody could tell me as I have to write scripts
that handle directories & filenames containing one or more
space chars..

Thanx in advance.

Please mail me direct.


Shaun McCullagh.,
East Anglia Uni.,
Norwich
England

sm at sys.uea.ac.uk



More information about the Comp.unix.shell mailing list