Path: utzoo!mnetor!uunet!lll-winken!csustan!csun!aeusesef From: aeusesef@csun.UUCP (sean fagan) Newsgroups: comp.unix.questions Subject: Re: PS1 and PWD in david korn's shell Message-ID: <967@csun.UUCP> Date: 16 Dec 87 18:17:53 GMT Distribution: na Organization: California State University, Northridge Lines: 19 In article <3@dropte.foobar.UUCP> tw@dropte.UUCP (Tom Walsh) writes: >In article <7@ritcv.UUCP> ccs6277@ritcv.UUCP (PUT YOUR NAME HERE) writes: >> ...in Korn Shell >...lots of work to get cwd in PS1 using korn shell >> ...rochester!ritcv!ritcsh!sabin!lazlo!{root|ccs} >$PWD is maintained by korn shell. use it. it is cheaper than >`pwd`... by a long shot. No, it's not. `pwd` get evaluated as the shell's pwd, which just returns $PWD. The overhead is relatively small on Korn Shell (and versions of Bourne shell that have pwd built in). ----- Sean Eric Fagan Office of Computing/Communications Resources (213) 852 5742 Suite 2600 1GTLSEF@CALSTATE.BITNET 5670 Wilshire Boulevard Los Angeles, CA 90036 {litvax, rdlvax, psivax, hplabs, ihnp4}!csun!aeusesef