Large file system support in 2.1.2 (was Re: [Python-Dev] release for 2.1.2, plus 2.2.1...)

Barry A. Warsaw barry@zope.com
Sun, 6 Jan 2002 19:05:08 -0500


Okay, I'm totally confuggled now.  Let's boil this down.  Take this
simple program:

-------------------- snip snip --------------------/tmp/foo.sh
#! /bin/sh
echo "OPT   = x${OPT}x"
echo "CFLAGS= x${CFLAGS}x"
-------------------- snip snip --------------------

and invoke it like:

% CFLAGS='one' OPT="two $CFLAGS" /tmp/foo.sh

What do you get?  What do you *expect* to get?  Am I boiling things
down correctly?

On every system I've tested, the following output is what I get:

% CFLAGS='one' OPT="two $CFLAGS" /tmp/foo.sh
OPT   = xtwo x
CFLAGS= xonex

So, why should any of this work anywhere?  Should we ever expect $OPT
to get the right value?

i-must-be-missing-something-really-obvious,-obvious-ly y'rs,
-Barry