home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15715 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  1.7 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!think.com!unixland!rmkhome!rmk
  2. From: rmk@rmkhome.UUCP (Rick Kelly)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Uucp ? Working ?
  5. Message-ID: <9211041449.50@rmkhome.UUCP>
  6. Date: 4 Nov 92 19:49:47 GMT
  7. References: <TERJEVE.92Nov2130311@bera.ifi.uio.no> <720766658snx@grendel.demon.co.uk>
  8. Reply-To: rmk@rmkhome.UUCP (Rick Kelly)
  9. Organization: The Man With Ten Cats
  10. Lines: 30
  11.  
  12. In article <720766658snx@grendel.demon.co.uk> jes@grendel.demon.co.uk (Jim Segrave) writes:
  13. >
  14. >In article <TERJEVE.92Nov2130311@bera.ifi.uio.no> terjeve@ifi.uio.no (Terje Vernly) writes:
  15. >
  16. >> You will have to escape til !-sign, or else the shell will interpret
  17. >> it.  When then shell encounters '!/user/src/LISTING' it will search
  18. >> the command-history for a command beginning with '/user/src/LISTING'
  19. >> and excute it.  Try typing '!ls', and the shell will execute the last
  20. >> ls you did.
  21. >> 
  22. >> Try this : uucp nucleus\!/user/src/LISTING listing
  23. >If you're using bash and this works, please let me know. As far as I know,
  24. >bash will kindly not search the history - that's the good bit - but
  25. >leaves the backslash in the command line - the not so clever bit. You
  26. >need to use the bash command to stop ! expansion to get around this. I
  27. >raised this question a whil back and several people responded with the
  28. >correct incantation to stop history expansion. Unfortunately, I can't
  29. >remember it at the moment, and since I have to read news under dos until
  30. >I can get slip and tcp/ip running, I can't read the man page to tell you
  31. >what the command is. I fear bashes escaping of ! is broken.
  32.  
  33.  
  34. To turn off csh history searching in bash:
  35.  
  36. set +H
  37.  
  38. -- 
  39.  
  40. Rick Kelly    rmk@rmkhome.UUCP    unixland!rmkhome!rmk    rmk@frog.UUCP
  41.