bug-bash
[Top][All Lists]
Advanced

[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 16:30:42 +0200

On Thu, Aug 25, 2022, 16:27 Chet Ramey <chet.ramey@case.edu> wrote:

> 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.
>

:/ , thanks much tho for looking into it
i put it to the x-files

greets :))

$ 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    chet@case.edu    http://tiswww.cwru.edu/~chet/
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]