home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.bash.bug
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
- From: chet@odin.ins.cwru.edu (Chet Ramey)
- Subject: Re: odd `shift' behaviour with bash-1.12
- Message-ID: <9208282124.AA00590.SM@odin.INS.CWRU.Edu>
- Sender: gnulists@ai.mit.edu
- Reply-To: chet@po.cwru.edu
- Organization: GNUs Not Usenet
- References: chet@odin.ins.cwru.edu (Chet Ramey)
- Distribution: gnu
- Date: Fri, 28 Aug 1992 13:24:27 GMT
- Approved: bug-bash@prep.ai.mit.edu
- Lines: 23
-
- > the second `shift' needs to be executed to shift the args to `bug',
- > even though they were already (supposed to have been) kicked out by
- > the `shift' in the inner loop.
-
- Bourne-style shells, bash included, run shell control structures
- with piped output in subshells. These subshells cannot modify
- their parent's environment.
-
- Chet
-
- --
- ``The use of history as therapy means the corruption of history as history.''
- -- Arthur Schlesinger
-
- Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu
-
-
- --
- ``The use of history as therapy means the corruption of history as history.''
- -- Arthur Schlesinger
-
- Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu
-
-