KSH PSx won't quote exclamation points
Bamford
bamford at ihuxy.UUCP
Fri Oct 17 09:56:23 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.
Try:
PS1="amdahl!!krs "
It seems that to "escape" the exclamation mark, use another
exclamation mark.
--
Harold Bamford
AT&T Bell Labs
IE 2F-524 (312) 369-7397
More information about the Comp.unix
mailing list