On 3/24/24 11:39 PM, Lawrence Velázquez wrote:
On Sun, Mar 24, 2024, at 11:01 PM, Dan Jacobson wrote:
P.S., "\t%s" seems to have an extra space squeezed between them with
bash: "\t %s",
unless perhaps the spec says that %s always starts with a space.

The standard doesn't say that, so in native mode bash's `fc' is
indeed slightly nonconformant, but in POSIX mode it does omit the
extra space.

That character is a `*' if the line has been modified (has an existing
set of edits to undo) and ` ' if not. This is what `history' does.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to