Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!sri-spam!sri-unix!hplabs!tektronix!orca!tekecs!stalker!jans From: jans@stalker.gwd.tek.com (Jan Steinman) Newsgroups: net.unix Subject: Re: KSH PSx won't quote exclamation points Message-ID: <7770@tekecs.TEK.COM> Date: Thu, 16-Oct-86 13:32:36 EDT Article-I.D.: tekecs.7770 Posted: Thu Oct 16 13:32:36 1986 Date-Received: Fri, 17-Oct-86 04:02:40 EDT References: <3957@amdahl.UUCP> Sender: news@tekecs.TEK.COM Reply-To: jans@stalker.UUCP (Jan Steinman) Organization: Tektronix, Inc., Wilsonville, OR Lines: 12 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. 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 ::::::