Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!rayssd!dpw From: dpw@rayssd.UUCP (Darryl P. Wagoner) Newsgroups: net.unix Subject: Re: KSH PSx won't quote exclamation points Message-ID: <278@rayssd.UUCP> Date: Sun, 19-Oct-86 11:03:14 EDT Article-I.D.: rayssd.278 Posted: Sun Oct 19 11:03:14 1986 Date-Received: Tue, 21-Oct-86 21:37:08 EDT References: <3957@amdahl.UUCP> Sender: dpw@rayssd.UUCP (Darryl P. Wagoner @ Raytheon Co., Portsmouth RI) Organization: Raytheon Co., Portsmouth RI Lines: 19 > In the Korn Shell (ksh), I'm trying to set my PS1 to include my system- > name and userid as amdahl!krs and no matter how I quote the > exclamation, it gets interpreted as the command process number. I even > tried saving the desired string in another variable and just including . . > > How can I get a real printable exclamation into a Prompt String???? > The way to do it is: PS1='amdahl!!krs' Who would have guessed? -- Darryl Wagoner Raytheon Co.; Portsmouth RI; (401)-847-8000 x4089 best path {allegra|gatech|mirror|raybed2} -----\ next best {linus|ihnp4|cci632} ------------------>!rayssd!dpw