bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXT] Re: manual page missing ${parameter-replacement}


From: Lawrence Velázquez
Subject: Re: [EXT] Re: manual page missing ${parameter-replacement}
Date: Tue, 22 Nov 2022 02:43:10 -0500
User-agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead

On Tue, Nov 22, 2022, at 2:20 AM, Ulrich Windl wrote:
> AFAIK, bold means "literal" and non-bold or specifically italics means
> "placeholder".
> From man-pages(7):
>
> "(...) boldface is used for as-is text and italics are used to indicate
> replaceable arguments.   Brackets ([]) surround optional arguments,
> vertical bars (|) separate choices, and ellipses (...) can  be  repeated.
> (...)"

Again, you have omitted relevant context.  That excerpt is from
a section of man-pages(7) that discusses synopses.  We are not
talking about a man page synopsis.

The "Parameter Expansion" section of bash(1) simply does not use
boldface for "${" / "}".  I don't know if that is intentional, but
I would guess that only the unique portions of each expansion form
are emphasized with boldface.  Setting every "${" / "}" in boldface
too would dilute that emphasis significantly.

-- 
vq



reply via email to

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