tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Deferring variable parse errors in /bin/sh
On 12 Jun 2017 03:48, "Robert Elz" <kre%munnari.oz.au@localhost> wrote:
However, we could do what I see that FreeBSD has done (and when I saw it,
I wondered why) and defer the error message until the expansion actually
happens, rather than when it is parsed (provided we can find some way to
parse the thing, which would be possible here, and in most cases.)
Would that mean `sh -n` would not complain about it? If so, it seems like a
bad idea.
dieter
Home |
Main Index |
Thread Index |
Old Index