Mail Archives: djgpp-workers/2002/02/13/16:36:58
> - readline not quite OK (Del, Ctl-Left, Ctl-Right, ... don't work)
set TERM=djgpp
should do it.
> - some issues with envvars:
>
> foo=bar echo $foo
>
> is supposed to print "bar", but doesn't.
I seem to remember answering this once before. The answer is that this is the
way Bash works:
Simple Command Expansion
------------------------
When a simple command is executed, the shell performs the following
expansions, assignments, and redirections, from left to right.
1. The words that the parser has marked as variable assignments (those
preceding the command name) and redirections are saved for later
processing.
In other words, "foo=bar" isn't peformed until after the command is executed.
Mark
- Raw text -