home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / bash / bug / 496 < prev    next >
Encoding:
Text File  |  1992-07-25  |  912 b   |  35 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!suite.sw.oz.AU!peterc
  3. From: peterc@suite.sw.oz.AU (Peter Chubb)
  4. Subject: ! history expansion problems
  5. Message-ID: <1992Jul24.032641.6041@softway.sw.oz.au>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Softway Pty Ltd
  8. Distribution: gnu
  9. Date: Fri, 24 Jul 1992 03:26:41 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 22
  12.  
  13. How can I disable csh-style history expansion within shell character classes?
  14. For example:
  15.  
  16.     cp ../skeleton/.[!.]* .
  17.  
  18. to set up a user's account.
  19.  
  20. As ! here indicates inversion of the character class, I think it
  21. should be added to the set of special cases where it is not expanded
  22. as history.
  23.  
  24.  
  25.  
  26.             Regards,
  27.  
  28.                 - Peter Chubb
  29.  
  30. Softway Pty Ltd, P.O. Box 305, Strawberry Hills, NSW 2012, AUSTRALIA
  31. Phone: +61 2 698 2322;       Fax: +61 2 699 9174;     Telex: AA27987
  32. Internet: peterc@softway.oz.au       UUCP: ...!uunet!softway.oz!peterc
  33.  
  34.  
  35.