current pwd in prompt
Guy Harris
guy at gorodish.Sun.COM
Wed Feb 10 07:01:26 AEST 1988
> Summary: don't have to run the pwd program
Who said anything about running the "pwd" program?
gorodish$ type pwd
pwd is an exported alias for print - $PWD
gorodish$ type print
print is a built-in command
(Version 02/21/85c) I'd be *very* surprised if references to "$PWD" were "a
zillion times faster" than calls to the "pwd" command.
Guy Harris
{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
guy at sun.com
More information about the Comp.unix.wizards
mailing list