>>"Adam" == Adam Heath <[EMAIL PROTECTED]> writes:

 >> PWD=`pwd`

 Adam> Btw, I think this is bad.  They should use CURDIR.
__> echo $CURDIR

__> 

        So, what is the provenance of this CURDIR variable? Has it
 been blessed by POSIX? indeed not. However, I see that both $PWD and
 the pwd utility are sanctioned by POSIX; so for maximal portability
 scripts should *NOT* use  CURDIR, the should either use PWD, or call
 pwd themselves, like the example did.

        manoj
-- 
 People are like onions -- you cut them up, and they make you cry.
Manoj Srivastava   <[EMAIL PROTECTED]>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply via email to