KSH PSx won't quote exclamation points

Jan Steinman jans at stalker.gwd.tek.com
Fri Oct 17 03:32:36 AEST 1986


In article <3957 at amdahl.UUCP> krs at amdahl.UUCP (Kris Stephens) writes:
>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

Very Unix-like.  To rob a meta-character of its special properties, double it.

:::::: Artificial   Intelligence   Machines   ---   Smalltalk   Project ::::::
:::::: Jan Steinman		Box 1000, MS 60-405	(w)503/685-2956 ::::::
:::::: tektronix!tekecs!jans	Wilsonville, OR 97070	(h)503/657-7703 ::::::



More information about the Comp.unix mailing list