[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add option to just print history, with no added timestamps or line n
From: |
Dan Jacobson |
Subject: |
Re: Add option to just print history, with no added timestamps or line numbers |
Date: |
Mon, 25 Mar 2024 08:54:05 +0800 |
>>>>> "MDK" == Martin D Kealey <martin@kurahaupo.gen.nz> writes:
MDK> How about « fc -ln » ?
I like it!
P.S.,
$ help fc
-n omit line numbers when listing
Yes, it omits the line numbers. But leaves the "^I " separators!
$ fc -l 999 1000|cat -vt
999^I echo invite Nerbleson for dinner
1000^I echo and Snordsworth too
$ fc -ln 999 1000|cat -vt
^I echo invite Nerbleson for dinner
^I echo and Snordsworth too
(Well I guess that's better than the other way around at least.
(Inserting the numbers but forgetting the separators.))
MDK> It might be helpful to have explicit cross-references between the
MDK> help displays for «history» and «fc».
Yup, else I would have never learned about this feature unless the nice
man from .nz stepped forth. Imagine that, me, an innocent reader of the
"help history" command, is supposed to magically know about the "fc"
command, without a shred of "SEE ALSO" there on the "help history" page.
Yes, we are all supposed to read the Bash Man page, but a tiny 'see also
"fc"' would go miles in making "help" more helpful.
- Add option to just print history, with no added timestamps or line numbers, Dan Jacobson, 2024/03/24
- Re: Add option to just print history, with no added timestamps or line numbers, Lawrence Velázquez, 2024/03/24
- Re: Add option to just print history, with no added timestamps or line numbers, Martin D Kealey, 2024/03/24
- Re: Add option to just print history, with no added timestamps or line numbers,
Dan Jacobson <=
- Re: Add option to just print history, with no added timestamps or line numbers, Lawrence Velázquez, 2024/03/24
- Re: Add option to just print history, with no added timestamps or line numbers, Dan Jacobson, 2024/03/24
- Re: Add option to just print history, with no added timestamps or line numbers, Lawrence Velázquez, 2024/03/24
- Re: Add option to just print history, with no added timestamps or line numbers, Dan Jacobson, 2024/03/25
- Re: Add option to just print history, with no added timestamps or line numbers, Chet Ramey, 2024/03/25