Re: history -c doesn't reset command counter properly

2018-03-11 Thread Janek Warchoł
Oh, nice! That's quite a long time ago, when can I expect this change to be released? I'm not familiar with Bash release lifecycle. Thanks, Janek 2018-03-10 20:56 GMT+01:00 Chet Ramey : > On 3/10/18 8:27 AM, Janek Warchoł wrote: > > Hello, > > > > I have noticed a strange behavior when working w

Re: history -c doesn't reset command counter properly

2018-03-10 Thread Chet Ramey
On 3/10/18 8:27 AM, Janek Warchoł wrote: > Hello, > > I have noticed a strange behavior when working with bash "history" command. > Every command in history has its index, and I expected that clearing > history should reset this index to zero. However, running history -c > actually decrements this

history -c doesn't reset command counter properly

2018-03-10 Thread Janek Warchoł
Hello, I have noticed a strange behavior when working with bash "history" command. Every command in history has its index, and I expected that clearing history should reset this index to zero. However, running history -c actually decrements this index by HISTSIZE, so that following commands will n