|
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
[Prev in Thread] | Current Thread | [Next in Thread] |