Andreas Schwab wrote:
> Bob Proulx writes:
> > Since $PWD is a bash specific feature
> 
> It isn't.
> 
> > would still tend to use $(pwd) because that works both in bash and in
> > POSIX shells (would be okay with #!/bin/sh).
> 
> $PWD works in every POSIX shell.
Oh!  I had it in my head that it was a feature of ksh and bash and
did not realize that it was in the POSIX standard.

Thanks for the correction.

Bob


Reply via email to