Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!unix!hplabs!hp-ses!hpcuhb!hpcllla!hpclisp!hpcljws!jws From: jws@hpcljws.HP.COM (John Stafford) Newsgroups: comp.unix.questions Subject: Re: K-shell variables & Do-loops Message-ID: <720013@hpcljws.HP.COM> Date: 12 Feb 90 19:55:48 GMT References: <339@ntpdvp1.UUCP> Organization: Hewlett-Packard Calif. Language Lab Lines: 3 And beware, if you redirect the input or output of the loop as a whole, you won't be able to get the variables out at all (as the loop will be executed by a child shell).