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


Groups > gnu.bash.bug > #13788

Typo (?) in man page

From Fabrizio Di Pilla <fabriziodipilla@gmail.com>
Newsgroups gnu.bash.bug
Subject Typo (?) in man page
Date 2018-03-02 12:00 -0300
Message-ID <mailman.10023.1520002953.27995.bug-bash@gnu.org> (permalink)

Show all headers | View raw


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.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web