From: Matthias Klose <[email protected]>

This addition to the documentation has been shipped in Debian's bash
since version 4.3~rc1-1.
---
 doc/bash.1       | 4 ++++
 doc/bashref.texi | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/doc/bash.1 b/doc/bash.1
index 8724835d..92ed89fc 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -4784,6 +4784,10 @@ A failure to open or create a file causes the 
redirection to fail.
 Redirections using file descriptors greater than 9 should be used with
 care, as they may conflict with file descriptors the shell uses
 internally.
+.PP
+Note that the
+.B exec
+builtin command can make redirections take effect in the current shell.
 .SS Redirecting Input
 Redirecting input opens the file whose name results from
 the expansion of
diff --git a/doc/bashref.texi b/doc/bashref.texi
index 41dfd35e..62299b10 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -3408,6 +3408,9 @@ Redirections using file descriptors greater than 9 should 
be used with
 care, as they may conflict with file descriptors the shell uses
 internally.
 
+Note that the @code{exec} builtin command can make redirections take
+effect in the current shell.
+
 @subsection Redirecting Input
 Redirecting input opens the file whose name results from
 the expansion of @var{word} for reading on file descriptor @code{n},
-- 
2.51.0


Reply via email to