sm@sys.uea.ac.uk (Shaun McCullagh CMP RA) (06/08/91)
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@sys.uea.ac.uk
chet@odin.INS.CWRU.Edu (Chet Ramey) (06/08/91)
>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@po.CWRU.Edu Case Western Reserve University NeXT Mail: chet@macbeth.INS.CWRU.Edu