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: Chet Ramey
Subject: Re: history -s from inside function replaces last command rather than adding to it
Date: Wed, 18 Dec 2024 11:01:00 -0500
User-agent: Mozilla Thunderbird

On 12/18/24 10:57 AM, Dale R. Worley wrote:

Add a dummy command to the history, or expect the function call to be
removed, or both?

Er... How do you add a dummy command to the history?  Admittedly, I'm
not an expert in bash history processing, but I checked over the options
to "history" and none of them simply add something to the history.

Run a command that doesn't do anything?

--
``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]