🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #221

! history expansion problems

#221
From: Peter Chubb
Date: Fri, 24 Jul 1992 03:26
20 lines
942 bytes
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.



			Regards,

				- Peter Chubb

Softway Pty Ltd, P.O. Box 305, Strawberry Hills, NSW 2012, AUSTRALIA
Phone: +61 2 698 2322;       Fax: +61 2 699 9174;     Telex: AA27987
Internet: peterc@softway.oz.au	   UUCP: ...!uunet!softway.oz!peterc
Technical Details
Message-ID: <1992Jul24.032641.6041@softway.sw.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!suite.sw.oz.AU!peterc

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!suite.sw.oz.AU!peterc
From: peterc@suite.sw.oz.AU (Peter Chubb)
Subject: ! history expansion problems
Message-ID: <1992Jul24.032641.6041@softway.sw.oz.au>
Sender: gnulists@ai.mit.edu
Organization: Softway Pty Ltd
Distribution: gnu
Date: Fri, 24 Jul 1992 03:26:41 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 22