bug-bash
[Top][All Lists]
Advanced

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

Typo (?) in man page


From: Fabrizio Di Pilla
Subject: Typo (?) in man page
Date: Fri, 2 Mar 2018 12:00:39 -0300

Hi bash!

First of all, just want to thank you all for all the great work you are
doing.

I was reading the bash man page and found something that I think is a typo.
Under the paragraph of *Lists*, when talking about the AND list, it says:

command2 is executed if, and only if, command1 returns an exit status of
zero.


A few lines bellow, when talking about the OR list, it says:

command2  is  executed  if  and only if command1 returns a non-zero exit
status.


I think it should say:

command2  is  executed  if,  and only if, command1 returns a non-zero exit
status.

Notice the added ',' so it will be same as the AND example.
I don't know if this is really a typo since English is not my primary
language.


What do you think?

Regards.


reply via email to

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