home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.bash.bug
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
- From: chet@odin.ins.cwru.edu (Chet Ramey)
- Subject: Re: ! history expansion problems
- Message-ID: <9207271150.AA08228.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: Mon, 27 Jul 1992 03:50:48 GMT
- Approved: bug-bash@prep.ai.mit.edu
- Lines: 21
-
- > How can I disable csh-style history expansion within shell character classes?
- > For example:
- >
- > cp ../skeleton/.[!.]* .
- >
- > to set up a user's account.
- >
- > As ! here indicates inversion of the character class, I think it
- > should be added to the set of special cases where it is not expanded
- > as history.
-
- You can use ^ in place of ! to indicate character class inversion.
-
- 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
-
-