2
## by Juan Alvarez <jalvarez@fluidsignal.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Fix the multiline strings
6
## DP: Thanks to Joshua Kwan <joshk@triplehelix.org>
9
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
13
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
14
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
17
-patch) patch $patch_opts -p1 < $0;;
18
-unpatch) patch $patch_opts -p1 -R < $0;;
20
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
26
--- prips-0.9.4/main.c 1999-12-13 20:15:42.000000000 -0800
27
+++ prips-0.9.4/main.c.new 2003-06-04 14:57:56.000000000 -0700
30
const char *MAINTAINER = "dan@vertekcorp.com";
33
- \rThis program comes with NO WARRANTY,
34
- \rto the extent permitted by law.
35
- \rYou may redistribute copies under
37
+ \rThis program comes with NO WARRANTY,\n\
38
+ \rto the extent permitted by law.\n\
39
+ \rYou may redistribute copies under \n\
40
\rthe terms of the GNU General Public License.\n";
42
void usage(char *prog);
45
void usage(char *prog)
47
- fprintf(stderr, "usage: %s [options] <start end | CIDR block>
48
- -c print range in CIDR notation
49
- -d <x> set the delimeter 'x' where 0 =< x =< 255
50
- -f <x> set the format of addresses (hex, dec, or dot)
51
- -i <x> set the increment to 'x'
52
- -e <x.x.x,x.x> e.g. -e ..4. will not print 192.168.4.[0-255]
54
+ fprintf(stderr, "usage: %s [options] <start end | CIDR block>\n\
55
+ -c print range in CIDR notation\n\
56
+ -d <x> set the delimeter 'x' where 0 =< x =< 255 \n\
57
+ -f <x> set the format of addresses (hex, dec, or dot)\n\
58
+ -i <x> set the increment to 'x'\n\
59
+ -e <x.x.x,x.x> e.g. -e ..4. will not print 192.168.4.[0-255]\n\
61
\rReport bugs to %s\n",