KSH PSx won't quote exclamation points
Darryl P. Wagoner
dpw at rayssd.UUCP
Mon Oct 20 01:03:14 AEST 1986
> 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
More information about the Comp.unix
mailing list