This fixes lash so it handles environment variable expansion, regardless
authorEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:38:44 +0000 (06:38 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 20 Feb 2001 06:38:44 +0000 (06:38 -0000)
commitcaeeb367841416191d2670fa36545720ca970d5b
treeabdcb1ff56bc772d6c17d8c5bfb42a3f4efb422c
parenta183f0582550c873e69fd806e051320957f77e0f
This fixes lash so it handles environment variable expansion, regardless
of where the environment variables are located in an argument.  This allows
things like 'echo foo$1$SHELL' to expand the same way bash would expand it.
Of course, to make this work I introduced a memory leak, and I am too tired
to find a way to fix it.
 -Erik
lash.c
sh.c
shell/lash.c