Pull request: Fix typo from documentation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pull request: Fix typo from documentation

Jorge Maldonado Ventura
Description: I don't know if I should change PATCHLEVEL number, so
increment it if necessary. I didn't generate the PDF, HTML, etc. to make
the patch smaller. Please amend the commit if necessary. Below the
changes made.


The following changes since commit bc007799f0e1362100375bb95d952d28de4c62fb:

  Bash-4.4 patch 12 (2017-01-27 11:25:44 -0500)

are available in the git repository at:

  https://notabug.org/jorgesumle/bash

for you to fetch changes up to 814999af32bf9c4163a66ad31ba7759f99998874:

  Fix typo from Bash Reference Manual (2017-12-31 19:46:15 +0100)

----------------------------------------------------------------
Jorge Maldonado Ventura (1):
      Fix typo from Bash Reference Manual

 doc/bashref.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/bashref.texi b/doc/bashref.texi
index c0f4a2f..572fa16 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -3587,7 +3587,7 @@ If @var{n} is not supplied, the return value is
the exit status of the
 last command executed in the function.
 If @code{return} is executed by a trap handler, the last command used to
 determine the status is the last command executed before the trap handler.
-if @code{return} is executed during a @code{DEBUG} trap, the last command
+If @code{return} is executed during a @code{DEBUG} trap, the last command
 used to determine the status is the last command executed by the trap
 handler before @code{return} was invoked.
 @code{return} may also be used to terminate execution of a script



Reply | Threaded
Open this post in threaded view
|

Re: Pull request: Fix typo from documentation

Chet Ramey
On 12/31/17 2:13 PM, Jorge Maldonado Ventura wrote:
> Description: I don't know if I should change PATCHLEVEL number, so
> increment it if necessary. I didn't generate the PDF, HTML, etc. to make
> the patch smaller. Please amend the commit if necessary. Below the
> changes made.

Thanks for the report.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [hidden email]    http://tiswww.cwru.edu/~chet/

Reply | Threaded
Open this post in threaded view
|

Fix typo from documentation

Jorge Maldonado Ventura
In reply to this post by Jorge Maldonado Ventura
https://www.gnu.org/software/bash/manual/bash.html#Bourne-Shell-Builtins

Missing comma in text from <code>hash</code>.

- If multiple name arguments are supplied with -t the name is printed
before the hashed full pathname.
+ If multiple name arguments are supplied with -t, the name is printed
before the hashed full pathname

See https://www.ego4u.com/en/cram-up/writing/comma?10 for grammar
explanation.