[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ${!#} doesnt get into history in interactive
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: ${!#} doesnt get into history in interactive |
Date: |
Thu, 25 Aug 2022 08:04:24 +0200 |
On Wed, Aug 24, 2022, 21:15 Dennis Williamson <dennistwilliamson@gmail.com>
wrote:
>
>
> On Wed, Aug 24, 2022, 9:07 AM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>
> wrote:
>
>> debian 5.2.0(1)-beta bash
>>
>> i did code lightly in interactive
>> then i did
>>
>> set -- 1 2 3
>> echo ${!#}
>>
>> then arrow up
>> .. both cmds were skipped , and on the term was rather the old code ,
>> which
>> i previously wrote
>>
>> then i did
>>
>> echo ${!#}
>>
>> arrow up
>> .. the old cmd again
>>
>> attached is a pic from camera on that screen
>>
>> imo i dont have much in bashrc
>> pic of that also
>>
>
> set +o histexpand
>
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
..
>