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 readline header location on Debian systems
20 --- bash/examples/loadables/README~ 2006-12-04 10:21:13.000000000 +0000
21 +++ bash/examples/loadables/README 2006-12-04 10:23:05.000000000 +0000
23 guide'. The file template.c provides a template to use for creating
24 new loadable builtins.
26 +On Debian GNU/Linux systems, the bash headers are in /usr/include/bash.
27 +The appropriate options are already set in the example Makefile.
29 basename.c Return non-directory portion of pathname.
30 cat.c cat(1) replacement with no options - the way cat was intended.
31 cut.c cut(1) replacement.