Angus Leeming wrote:
Jean-Marc Lasgouttes wrote:


"Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:


[snip]


That being the case, this works, but isn't strict enough, allowing 'nested' stuff like this hypothetical example:

$ x=M
$ echo ${HO${x}E}
/home/angus

The real shell won't allow this.

Just for curiosity: make will do it!


% cat Makefile
x=M
home=${HO${x}E}
all:
    echo ${home}

% make
echo /home/witt
/home/witt

Regards,

Stephan



Reply via email to