UNIX prompts (-ksh)

Hans Jespersen hjespers at vpk4.UUCP
Mon Mar 27 13:41:30 AEST 1989


In article <2391 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>In article <11080 at well.UUCP> tneff at well.UUCP (Tom Neff) writes:
>>Actually not even the classic Korn shell solution of
>>
>>	export PS1='$PWD> '
>>
>>seems to work everywhere.  
 
>I don't know ksh, but all the other shells I've seen use single-quotes
>to protect against variable substitution...

Absolutely correct. I think Tom ment

	export PS1=`$PWD> `
                   ^      ^
---------------------------------------------------------------------------
Hans Jespersen                UUCP: uunet!attcan!hjespers
AT&T Canada Inc.                or     ..!attcan!nebulus!arakis!hans
Toronto, Ontario              #include <std.disclaimer>

"Yabba Dabba Doo" -- F. Flintstone



More information about the Comp.unix.questions mailing list