Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!uwvax!rutgers!sri-spam!sri-unix!hplabs!sdcrdcf!trwrb!trwspp!spp5!brahms From: brahms@spp5.UUCP (Bradley S. Brahms) Newsgroups: net.unix Subject: Re: KSH PSx won't quote exclamation points Message-ID: <344@spp5.UUCP> Date: Thu, 16-Oct-86 19:07:12 EDT Article-I.D.: spp5.344 Posted: Thu Oct 16 19:07:12 1986 Date-Received: Sat, 18-Oct-86 23:43:06 EDT References: <3957@amdahl.UUCP> Reply-To: brahms@spp5.UUCP (Bradley S. Brahms) Organization: TRW, Redondo Beach CA Lines: 16 Keywords: PS1, PS2, PS3 In article <3957@amdahl.UUCP> krs@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. I even >tried saving the desired string in another variable and just including >the variable in the PS description. Samples: >How can I get a real printable exclamation into a Prompt String???? Try PS1='amdahl!!krs' It works. -- Brad Brahms usenet: {decvax,ucbvax,ihnp4}!trwrb!trwspp!brahms arpa: Brahms@usc-eclc