[PATCH] doc: clarify DJGPP shell 'return' bug spelling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] doc: clarify DJGPP shell 'return' bug spelling

Pavel Raiskup
* doc/autoconf.texi (Shell Functions): Fix spelling so the
"command substitution" is related to function, not the 'return'
statement.
---
 doc/autoconf.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 9ea67cc..cdf58bf 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17127,8 +17127,8 @@ $ @kbd{ash -c 'foo() @{ echo $?; @}; trap foo 0; (exit 2); exit 2'; echo $?}
 2
 @end example
 
-DJGPP bash 2.04 has a bug in that @command{return} from a
-shell function which also used a command substitution causes a
+DJGPP bash 2.04 has a bug in that @command{return} done in a
+shell function which also used a command substitution; causes a
 segmentation fault.  To work around the issue, you can use
 @command{return} from a subshell, or @samp{AS_SET_STATUS} as last command
 in the execution flow of the function (@pxref{Common Shell Constructs}).
--
2.5.0