bug-bash
[Top][All Lists]
Advanced

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

Re: Bash manual - possible minor formatting issue


From: Andreas Kähäri
Subject: Re: Bash manual - possible minor formatting issue
Date: Sat, 11 Nov 2023 23:27:45 +0100

On Sat, Nov 11, 2023 at 08:05:18PM +0000, Greg wrote:
> Hello,
> 
> I think there may be a minor formatting issue in the set​ builtin section of 
> the Bash manual 
> (https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html). In 
> the description of the "x​" option, the second "for" in the first sentence is 
> formatted as inline code but I believe it should be formatted as regular text.
> 
> So instead of "arithmetic ​`for​​` commands" I believe it should be 
> "arithmetic for commands" all in regular text. If I am mistaken then please 
> ignore this email.
> 
> I have also attached a screenshot.
> 
> [image.png]
> 
> Regards,
> Greg

This is not an error.  The "arithmetic `for` command" is a "for" command
on the form

        for (( i=0; i<10; ++i )); do
                ...
        done

... as opposed to the "for" command on the form

        for i in some list; do
                ...
        done

-- 
Andreas (Kusalananda) Kähäri
Uppsala, Sweden

.



reply via email to

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