[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: history -s from inside function replaces last command rather than ad
From: |
Greg Wooledge |
Subject: |
Re: history -s from inside function replaces last command rather than adding to it |
Date: |
Tue, 17 Dec 2024 12:57:24 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, Dec 17, 2024 at 17:48:15 +0000, Bug Maybefound wrote:
> I assumed it must be from a more recent bash than I have since mine doesn’t
> have it:
>
> $ help history
> <snip>
> -p perform history expansion on each ARG and display the result
> without storing it in the history list
> -s append the ARGs to the history list as a single entry
>
> If FILENAME is given, it is used as the history file. Otherwise,
> <snip>
The output of "help" is not always complete documentation for a given
builtin. The man page may have more information than the help command.
And the info pages may have more information than the man page (rarely).
- history -s from inside function replaces last command rather than adding to it, Bug Maybefound, 2024/12/13
- Re: history -s from inside function replaces last command rather than adding to it, Chet Ramey, 2024/12/14
- Re: history -s from inside function replaces last command rather than adding to it, Dale R. Worley, 2024/12/16
- Re: history -s from inside function replaces last command rather than adding to it, Chet Ramey, 2024/12/16
- Re: history -s from inside function replaces last command rather than adding to it, Greg Wooledge, 2024/12/16
- Re[2]: history -s from inside function replaces last command rather than adding to it, Bug Maybefound, 2024/12/17
- Re: history -s from inside function replaces last command rather than adding to it, Chet Ramey, 2024/12/17
- Re[2]: history -s from inside function replaces last command rather than adding to it, Bug Maybefound, 2024/12/17
- Re: history -s from inside function replaces last command rather than adding to it,
Greg Wooledge <=
- Re: history -s from inside function replaces last command rather than adding to it, Chet Ramey, 2024/12/17
- Re: history -s from inside function replaces last command rather than adding to it, Dale R. Worley, 2024/12/17
- Re: history -s from inside function replaces last command rather than adding to it, Chet Ramey, 2024/12/18
- Re: history -s from inside function replaces last command rather than adding to it, Dale R. Worley, 2024/12/18
- Re: history -s from inside function replaces last command rather than adding to it, Chet Ramey, 2024/12/18
- Re: history -s from inside function replaces last command rather than adding to it, microsuxxor, 2024/12/18