3 if [ $# -eq 3 -a "$2" = '-d' ]; then
5 elif [ $# -ne 1 ]; then
6 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10 -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
11 -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
13 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18 # DP: document /etc/bash.bashrc in bash man page
20 --- bash/doc/bash.1.orig 2008-11-29 17:37:14.000000000 +0000
21 +++ bash/doc/bash.1 2008-11-29 17:40:07.000000000 +0000
26 -instead of the standard personal initialization file
27 +instead of the system wide initialization file
29 +and the standard personal initialization file
31 if the shell is interactive (see
37 -Do not read and execute the personal initialization file
38 +Do not read and execute the system wide initialization file
40 +and the personal initialization file
42 if the shell is interactive.
43 This option is on by default if the shell is invoked as
46 When an interactive shell that is not a login shell is started,
48 -reads and executes commands from \fI~/.bashrc\fP, if that file exists.
49 +reads and executes commands from \fI/etc/bash.bashrc\fP and \fI~/.bashrc\fP,
50 +if these files exist.
51 This may be inhibited by using the
54 The \fB\-\-rcfile\fP \fIfile\fP option will force
56 -to read and execute commands from \fIfile\fP instead of \fI~/.bashrc\fP.
57 +to read and execute commands from \fIfile\fP instead of
58 +\fI/etc/bash.bashrc\fP and \fI~/.bashrc\fP.
65 determines it is being run in this fashion, it reads and executes
66 -commands from \fI~/.bashrc\fP, if that file exists and is readable.
67 +commands from \fI~/.bashrc\fP and \fI~/.bashrc\fP, if these files
68 +exist and are readable.
69 It will not do this if invoked as \fBsh\fP.
74 The systemwide initialization file, executed for login shells
77 +The systemwide per-interactive-shell startup file
80 The personal initialization file, executed for login shells