The second part was just recently added to the doc. Why wasn’t it there
before?
-- Original Message --
From "Chet Ramey"
To "Dale R. Worley" ; bugb...@89vx.net;
bug-bash@gnu.org
Cc chet.ra...@case.edu
Date 12/16/2024 4:46:21 PM
Subject Re: history -s from inside function replaces l
On 12/17/24 2:01 AM, Bug Maybefound wrote:
The second part was just recently added to the doc. Why wasn’t it there
before?
What does `recent' mean to you? The sentence about removing the last
command in the history list has been in the man page since bash-2.0,
in 1996, when `history'acquired t
On 12/17/24 12:48 PM, Bug Maybefound wrote:
I assumed it must be from a more recent bash than I have since mine doesn’t
have it:
The `help' builtin output isn't `the documentation'. It's intended as a
brief hint about builtins and some compound commands. The man page and
info doc are more compr
On Tue, Dec 17, 2024 at 17:48:15 +, Bug Maybefound wrote:
> I assumed it must be from a more recent bash than I have since mine doesn’t
> have it:
>
> $ help history
>
> -pperform history expansion on each ARG and display the result
> without storing it in the hi
I assumed it must be from a more recent bash than I have since mine
doesn’t have it:
$ help history
-pperform history expansion on each ARG and display the
result
without storing it in the history list
-sappend the ARGs to the history list as a sing
Chet Ramey writes:
>> What is the point of "history -s args", then? What is it useful for?
>
> To add arbitrary data to the history list, for whatever reason a user
> likes. I think the documentation is fairly clear on that.
To be more specific, it adds arbitrary data to the history list, but
al