Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #13788 > unrolled thread

Typo (?) in man page

Started byFabrizio Di Pilla <fabriziodipilla@gmail.com>
First post2018-03-02 12:00 -0300
Last post2018-03-02 12:00 -0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug


Contents

  Typo (?) in man page Fabrizio Di Pilla <fabriziodipilla@gmail.com> - 2018-03-02 12:00 -0300

#13788 — Typo (?) in man page

FromFabrizio Di Pilla <fabriziodipilla@gmail.com>
Date2018-03-02 12:00 -0300
SubjectTypo (?) in man page
Message-ID<mailman.10023.1520002953.27995.bug-bash@gnu.org>
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.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web