Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11707
| Path | csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Benno Schulenberg <bensberg@justemail.net> |
| Newsgroups | gnu.bash.bug |
| Subject | [patch] adding a missing bracket to the manual |
| Date | Mon, 19 Oct 2015 13:55:06 +0200 |
| Lines | 93 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.642.1445268736.7904.bug-bash@gnu.org> (permalink) |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="_----------=_14452557066572023"; charset="utf-8" |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1445268737 18368 208.118.235.17 (19 Oct 2015 15:32:17 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-sha1; c=relaxed/relaxed; d=justemail.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=12j +x0VR7k3dOS4OygPPRaVqp+U=; b=UbXGRwCZaajwTQhuKJBmhKswH57OwbnFwHe bePsAjw6hiU5C4h15XGLVi6+vx6RTHxImuRSi9C+noe02hJ+ghTm3KVwYQZweAsc Ww42y0NwGJ3f34AmG+Tg6pY91zWzTYP6PNzHYL+IKH4HFD90n74q8l2g4o4yWqca SbVa4a1s= |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=12j+x0VR7k3dOS4OygPPRaVqp+U=; b=QEc20 +DXU09sb6ifBPUKaaVFV0kzJMDUUs2Az9tve74HLDx0GyoixZm0uAl3+EDvysbTB 0+GFWB3gUnA2B02CIkUzQp7GXKmffboPJYH37S772SBiKNQtRu/HjiYoeObNNBjx qGahEhs7vdm3j99N1wjL1QG9ZcM62bjbZ7yKjc= |
| X-Sasl-Enc | QbS3cgwxZpRAV0oygRzCFwjszlyT+jEhGGGIQ/fcXlUQ 1445255706 |
| X-Mailer | MessagingEngine.com Webmail Interface - html |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 66.111.4.28 |
| X-Mailman-Approved-At | Mon, 19 Oct 2015 11:32:16 -0400 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.14 |
| 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:11707 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
In the Info document of bash-4.4-beta it says:
cd [-L|[-P [-e]] [-@] [DIRECTORY]
which is missing a closing bracket somewhere.
On the man page and in 'help cd' it says:
cd [-L|[-P [-e]] [-@]] [dir]
At first glance this seems to say that -@ can only be used
when also -L is used. On closer reading this is of course
not so, but the brackets being so wide apart makes this
somewhat hard to parse.
So I would suggest the following instead:
cd [-L]|[-P [-e]] [-@] [dir]
Of course it is somewhat silly to have "optional | optional",
but this way it is much clearer to me that -@ is independent
and also a bit clearer that -e only goes with -P.
Attached patch makes the proposed change.
(I may have patched a wrong file, though -- it's unclear to me
why generated files are in the git repo.)
Benno
--
http://www.fastmail.com - The way an email service should be
Back to gnu.bash.bug | Previous | Next | Find similar
[patch] adding a missing bracket to the manual Benno Schulenberg <bensberg@justemail.net> - 2015-10-19 13:55 +0200
csiph-web