bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH 2/7] doc/bash.1: Document deprecated syntax for arithmetic ev


From: G. Branden Robinson
Subject: Re: [PATCH 2/7] doc/bash.1: Document deprecated syntax for arithmetic evaluation
Date: Sat, 20 Sep 2025 21:28:42 -0500

At 2025-09-20T23:27:30+0200, Gioele Barabucci wrote:
> From: Matthias Klose <doko@debian.org>
> +The old format \fB$[\fP\fIexpression\fP\fB]\fP is deprecated and will
> +be removed in upcoming versions of bash.
> +.PP

s/will/may/

It's been there a long, long time; there's no telling when Chet might
decide to remove it.

Also, Chet pretty consistently sets "bash" in bold in the man page.

Finally, it's less visually noisy to use man(7) font macros than *roff
font selection escape sequences.

So I'd say:

+The old format
+.BI $[ expression ]
+is deprecated
+and may be removed in upcoming versions of
+.BR bash .
+.PP

(I advise breaking input lines at clause boundaries, but this practice
is only for ease of document maintenance and clarity of diffs, and makes
no difference to formatting.[1])

Regards,
Branden

[1] 
https://www.gnu.org/software/groff/manual/groff.html.node/Input-Conventions.html#Input-Conventions

    This material also appears in the roff(7) man page of groff 1.23.0.

Attachment: signature.asc
Description: PGP signature


reply via email to

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