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

2022-11-22 Thread Chet Ramey
On 11/22/22 2:43 AM, Lawrence Velázquez wrote: 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. This is

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

2022-11-21 Thread Lawrence Velázquez
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

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

2022-11-21 Thread Ulrich Windl
>>> Lawrence Velázquez schrieb am 22.11.2022 um 05:06 in Nachricht : [...] >> Despite of that only ":-" is typeset in bold; shouldn't "${" and "}" be >> typeset in bold, too? > > I don't know. It seems like boldface is used to highlight the parts > that are unique to each form. AFAIK, bold

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

2022-11-21 Thread Lawrence Velázquez
On Mon, Nov 21, 2022, at 4:38 AM, Ulrich Windl wrote: > But from the syntax "${parameter:-word}" it's not really obvious that the > colon may be omitted. You're not wrong. > Should it be "${parameter[:]-word}" (with non-bold square brackets) instead > (as for "name=[value]")? No, that would be