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