migration from private to rsa
[external/bash.git] / debian / patches / exec-redirections-texi.dpatch
1 #! /bin/sh -e
2
3 if [ $# -eq 3 -a "$2" = '-d' ]; then
4     pdir="-d $3"
5 elif [ $# -ne 1 ]; then
6     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7     exit 1
8 fi
9 case "$1" in
10     -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 --- bash/doc/bashref.texi~      2005-10-03 15:07:21.000000000 -0400
19 +++ bash/doc/bashref.texi       2006-07-12 21:26:57.000000000 -0400
20 @@ -2030,6 +2030,9 @@
21  care, as they may conflict with file descriptors the shell uses
22  internally.
23  
24 +Note that the @code{exec} builtin command can make redirections take
25 +effect in the current shell.
26 +
27  @subsection Redirecting Input
28  Redirection of input causes the file whose name results from
29  the expansion of @var{word}