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


Groups > gnu.bash.bug > #13788

Typo (?) in man page

Path csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From Fabrizio Di Pilla <fabriziodipilla@gmail.com>
Newsgroups gnu.bash.bug
Subject Typo (?) in man page
Date Fri, 2 Mar 2018 12:00:39 -0300
Lines 31
Approved bug-bash@gnu.org
Message-ID <mailman.10023.1520002953.27995.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1520002953 20057 208.118.235.17 (2 Mar 2018 15:02:33 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=oWWAkkqs1h+3iGqNnZbbwWX4fLH8o49HyviviYneFcY=; b=Vpoqxz4zE1qSc2elZKROA9O22EcJ6n31gFW9ovbmKVXpQycyj+/G99AB7L+AJhFLmH tl/U5MOauuV9abjlAX6QgtHEFA0pwCHrGha0NLRKa4XnbjFMq3nsAkpYYTkxVj9DxFcm nbqqISoXz0SfRAgczZlqRhu3YUewgXh5PpTjcNEvfhQWremQEfW64360SgFkuZ5gt0si ArQHvH7tCZi4d2BI0Xoi2outiEIAf0bZ78Sd1BzvKIKcn8ond/Up72SRe7amvDo06cyX txpDGqVIbxlyJ+FMWag+1/vtNAN3lB3DJmzCi717YVEvjXHq846lY1F29qewxe8nGN1c gTqw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oWWAkkqs1h+3iGqNnZbbwWX4fLH8o49HyviviYneFcY=; b=N8SJxlJG1Gqr5Ih+cPUldRb04h1dg15n7NsRFyCYOEsylpYdlsiMetpSLzA+Yx2mm5 r7L6NDnS0QwfzmRLDgD7a8adHyKqNNQ7CmiYD4dn1H+SWd79n1n7tYTsge4yqWq8+TI4 r2e2YCq4WIc4fAKQnZLrRdEwXteE/Mevnn15mMuWZGt8sxNjsUsukxdqPKNi47ZybLcT NR3xwWbVIwaxkKZUH5Ef4TvYPS+CORbYtlLDoTk3YzwbOz2aVeze5LmK7g2/5zhKXj/m CaIED6Kh6dASSudyUpp4vF4MfZ0NAU7Kc5fZzYHBHAgX00+06j6zYMcPUtC61BdD0Owf 3rVA==
X-Gm-Message-State APf1xPDJ7Q1VUYfhsm76gj1JKJcxrIMpqcnEQgnQEz03QdIa07w7IoYg /2Akb+FWoSdFLfDyM8J9XWqxX71SReY5Ocg9j2uX0g==
X-Google-Smtp-Source AG47ELutPDYFnF9ndBlKR8ip6HXPSZyDcMZlQIXk3uakdgGbp1mpcI2vxLilVK0gEqelm+OvMQHG98JHCI1cj1mWjUY=
X-Received by 10.202.78.73 with SMTP id c70mr3554868oib.222.1520002840272; Fri, 02 Mar 2018 07:00:40 -0800 (PST)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4003:c06::233
X-Mailman-Approved-At Fri, 02 Mar 2018 10:02:30 -0500
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:13788

Show key headers only | 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