bug-bash
[Top][All Lists]
Advanced

[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: Dale R. Worley
Subject: Re: history -s from inside function replaces last command rather than adding to it
Date: Mon, 16 Dec 2024 21:36:30 -0500

Chet Ramey <chet.ramey@case.edu> writes:
> Yes:
>
>          -s     Store the args in the history list  as  a  single  entry.
>                 The  last  command  in the history list is removed before
>                 adding the args.
>
> That last command is usually `history -s args'.

What is the point of "history -s args", then?  What is it useful for?

Dale



reply via email to

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