bash compound command history issue
steve rader
rader
Mon May 17 11:41:43 PDT 2004
Somewhere between v1.14 (rh6.1) and v2.04 (rh7.1), bash stops
providing per-line history when doing multi-line "compound
command" type stuff like...
for i in *; do
echo $i
done
That is to say, with v1.14, I can recall each individual line
listed above with the up arrow key; whereas v2.05 gratiously
makes the three lines into one line with semicolons (eg "for
i in *; do echo $i; done")
Anybody know the magic to get the old behavior back??
steve
- - -
systems & network guy
high energy physics
university of wisconsin
More information about the Linux-users
mailing list