Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!bloom-beacon!spdcc!ima!minya!jc From: jc@minya.UUCP (John Chambers) Newsgroups: comp.unix.wizards Subject: Re: recursive grep Message-ID: <16@minya.UUCP> Date: 25 Sep 89 19:53:55 GMT References: <13710@polyslo.calpoly.edu> <144000002@cdp> <2390@auspex.auspex.com> <15560@duke.cs.duke.edu> Organization: home Lines: 37 > There is this incredible feeling of power in being able to type: > oifs=IFS > IFS=":" > while read login passwd uid gid tail;do > # some processing for all the logins on the system > done IFS=oifs > whenever I feel like it. Well, I tried this, adding the two missing dollars, of course; in particular I tried: | oifs=$IFS | IFS=":" | while read login passwd uid gid descr dir shell | do echo dir=$dir | done (617/484-6393)' echo '' saying