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

Pavel Raiskup <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.