Re: Definition of alphanumeric?
On Mon, Apr 02, 2001 at 03:07:37AM -0500, Manoj Srivastava wrote:
> >> 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.
Note that this is probably not relevant to my problem. CURDIR is the same string
as PWD, it is not proetcted so it can be used in make rules like this:
If $(MYDIR) is something with a : or %, make breaks. I don't know if it is
possible to make this work at all by quoting, but this is what you find in gawk
currently (with MYDIR being something evaluating to pwd, but chnaging it to
CURDIR doesn't change anythin).
`Rhubarb is no Egyptian god.' Debian http://www.debian.org email@example.com
Marcus Brinkmann GNU http://www.gnu.org firstname.lastname@example.org