* catches more misspellings * new option -V * some bugfixes * improved verbose diagnostics * use sed -i rather than perl -pi * regenerate patches
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
$OpenBSD: patch-igor,v 1.2 2015/08/30 14:30:22 schwarze Exp $
|
|
do not report contractions by default (local change)
|
|
--- igor.orig Sun Aug 16 23:40:00 2015
|
|
+++ igor Sun Aug 30 16:06:04 2015
|
|
@@ -104,7 +104,7 @@ usage: $prog -h
|
|
-f FreeBSD obsolete features
|
|
-r repeated words
|
|
-s spelling
|
|
- -u contractions
|
|
+ -u contractions (off by default)
|
|
-w whitespace
|
|
-y style suggestions (off by default)
|
|
|
|
@@ -234,13 +234,13 @@ sub initialize {
|
|
# -D equals -abefgmprsuw
|
|
if ( $opt_D ) {
|
|
$opt_a = $opt_b = $opt_e = $opt_f = $opt_g = $opt_m = $opt_p
|
|
- = $opt_r = $opt_s = $opt_u = $opt_w = 1;
|
|
+ = $opt_r = $opt_s = $opt_w = 1;
|
|
}
|
|
|
|
if ( $opt_z ) {
|
|
# all non-whitespace tests
|
|
$opt_a = $opt_b = $opt_c = $opt_d = $opt_e = $opt_f = $opt_g
|
|
- = $opt_m = $opt_o = $opt_p = $opt_r = $opt_s = $opt_u
|
|
+ = $opt_m = $opt_o = $opt_p = $opt_r = $opt_s
|
|
= $opt_E = 1;
|
|
}
|
|
|
|
@@ -263,7 +263,7 @@ sub initialize {
|
|
$opt_a = $opt_b = $opt_c = $opt_d = $opt_e
|
|
= $opt_f = $opt_g = $opt_i = $opt_l = $opt_m
|
|
= $opt_n = $opt_o = $opt_p = $opt_r = $opt_s
|
|
- = $opt_t = $opt_u = $opt_w = $opt_E = $opt_S
|
|
+ = $opt_t = $opt_w = $opt_E = $opt_S
|
|
= $opt_W = 1;
|
|
$opt_x = $opt_y = 0;
|
|
}
|