Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!pasteur!ames!pacbell!dplace!djl From: djl@dplace.UUCP (Dave Lampe) Newsgroups: comp.unix.questions Subject: Setting IFS Message-ID: <487@dplace.UUCP> Date: 27 Mar 89 22:39:30 GMT Reply-To: djl@dplace.UUCP (Dave Lampe) Distribution: na Organization: Dave's Used Software Shop, Livermore Ca. Lines: 15 In a Bourne shell script I want to set the field separators to the standard blank, tab, and new-line to make sure that noone has played games. The question is what is the best looking way to do it? A way that makes it obvious to someone reading the script what I am doing. The best way I have come up with is: IFS="`echo \" \t\n\c\"`" ; export IFS Does anyone have a better command line? Dave Lampe {ames | lll-tis | sun | pyramid}!pacbell!dplace!djl (415) 455-1571