On 8/25/22 2:04 AM, Alex fxmbsw7 Ratchev wrote:
is this a bug, i see it as wrong feature the set -- 1 2 3 line was also gone - why ? it printed for !# 3 it didnt histexpand-act
I can't reproduce this. $ echo $BASH_VERSION 5.2.0(1)-rc3 $ history -c $ echo 1 1 $ echo 2 2 $ echo 3 3 $ echo ${!#} ./bash $ history 1 echo 1 2 echo 2 3 echo 3 4 echo ${!#} 5 history -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/