From: Mark Wooding Date: Sun, 28 Jan 2007 14:35:00 +0000 (+0000) Subject: cleanup: Fix extraneous whitespace throughout. X-Git-Tag: 1.2.0~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/misc/commitdiff_plain/841e5aca814309f2ca144d84681a48060537c2a1 cleanup: Fix extraneous whitespace throughout. --- diff --git a/Makefile b/Makefile index dcfbc39..f235f0e 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ LD = gcc CFLAGS = -O2 -g -pedantic -Wall -DVERSION=\"$(VERSION)\" LINK = $(LD) $(LDFLAGS) -o $@ $^ -INST = +INST = prefix = /usr/local bindir = $(prefix)/bin sbindir = $(prefix)/sbin diff --git a/MdwOpt.pm b/MdwOpt.pm index b268c15..6ee8112 100644 --- a/MdwOpt.pm +++ b/MdwOpt.pm @@ -39,7 +39,7 @@ require Exporter; # routine, although the interface is rather different, since it # takes advantage of some of Perl's object-oriented features. # -# +# # How options parsing appears to users # # A command line consists of a number of `words' (which may @@ -166,7 +166,7 @@ require Exporter; # permute Force permuting of the argument list # inorder Read options in order # posix Force use of POSIX option semantics -# quiet Don't report errors when they happen +# quiet Don't report errors when they happen sub new { @@ -382,7 +382,7 @@ sub read ($opt,$self->{this})=(substr($self->{this},0,1),substr($self->{this},1)); $prefix=($self->{flags}{_neg} ? '+' : '-'); - + if ($self->{short} =~ /\Q$opt/ && (!$self->{flags}{_neg} || substr($',0,1) eq '+')) { @@ -401,7 +401,7 @@ sub read return ('?',$self->err("option `$prefix$opt' requires an argument")) unless defined($arg); } - } + } $opt.='+' if $self->{flags}{_neg}; return ($opt,$arg); diff --git a/buf.1 b/buf.1 index 021aabe..e5004f1 100644 --- a/buf.1 +++ b/buf.1 @@ -20,7 +20,7 @@ buf \- buffer stdin to a file .SH DESCRIPTION The .B buf -program writes standard input to a temporary file. It then runs +program writes standard input to a temporary file. It then runs .VS .IR "command arguments " ... " stdinfile" .VE diff --git a/cdb-assign b/cdb-assign index 686d0f7..18051b1 100755 --- a/cdb-assign +++ b/cdb-assign @@ -6,7 +6,7 @@ from sys import argv, stdin, stderr, exit ego = r_sub(r'^.*[/\\]', '', argv[0]) def die(msg, prefix = True): - if prefix: msg ='%s: %s' % (ego, msg) + if prefix: msg ='%s: %s' % (ego, msg) print >>stderr, msg exit(1) @@ -16,9 +16,9 @@ def files(args): else: for a in args: if a == '-': - yield stdin + yield stdin else: - yield open(a, 'r') + yield open(a, 'r') if len(argv) < 2: die('usage: %s CDB [INPUT ...]' % ego, False) diff --git a/cdb-list b/cdb-list index ee85a14..1a18f32 100755 --- a/cdb-list +++ b/cdb-list @@ -6,7 +6,7 @@ from sys import argv, stdin, stderr, exit ego = r_sub(r'^.*[/\\]', '', argv[0]) def die(msg, prefix = True): - if prefix: msg ='%s: %s' % (ego, msg) + if prefix: msg ='%s: %s' % (ego, msg) print >>stderr, msg exit(1) @@ -16,9 +16,9 @@ def files(args): else: for a in args: if a == '-': - yield stdin + yield stdin else: - yield open(a, 'r') + yield open(a, 'r') if len(argv) < 2: die('usage: %s CDB [INPUT ...]' % ego, False) diff --git a/cdb-list.1 b/cdb-list.1 index 9cc6d4c..c2cefd8 100644 --- a/cdb-list.1 +++ b/cdb-list.1 @@ -16,7 +16,7 @@ Comments and blank lines in the inputs are ignored. Each other line .I line causes an entry to be inserted into the BDB, whose key is .I line -with leading and trailing spaces stripped, and whose value is empty. +with leading and trailing spaces stripped, and whose value is empty. .PP The CDB file is written to .IB cdb .new diff --git a/cdb-map b/cdb-map index f230a42..684005d 100755 --- a/cdb-map +++ b/cdb-map @@ -6,7 +6,7 @@ from sys import argv, stdin, stderr, exit ego = r_sub(r'^.*[/\\]', '', argv[0]) def die(msg, prefix = True): - if prefix: msg ='%s: %s' % (ego, msg) + if prefix: msg ='%s: %s' % (ego, msg) print >>stderr, msg exit(1) @@ -16,9 +16,9 @@ def files(args): else: for a in args: if a == '-': - yield stdin + yield stdin else: - yield open(a, 'r') + yield open(a, 'r') if len(argv) < 2: die('usage: %s CDB [INPUT ...]' % ego, False) diff --git a/check-sender.1 b/check-sender.1 index 7e972f8..948d041 100644 --- a/check-sender.1 +++ b/check-sender.1 @@ -7,7 +7,7 @@ check-sender \- check an envelope sender's domain in a CDB file .B .qmail file) .br -.B |check-sender +.B |check-sender .BI < cdb .SH DESCRIPTION If the domain part of the email address in the diff --git a/debian/changelog b/debian/changelog index 9773dde..6e2bae8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,7 +4,7 @@ nsict-utils (1.1.1) experimental; urgency=low * Fix splitconf documentation to be right. * Fix gorp to produce base32 (ugh!) and safe64 output. - -- Mark Wooding Sat, 5 Feb 2005 10:39:52 +0000 + -- Mark Wooding Sat, 5 Feb 2005 10:39:52 +0000 nsict-utils (1.1.0) experimental; urgency=low @@ -14,7 +14,7 @@ nsict-utils (1.1.0) experimental; urgency=low -- Mark Wooding Tue, 18 Nov 2003 18:47:21 +0000 nsict-utils (1.0) experimental; urgency=low - + * Debianization! - + -- Mark Wooding Tue, 18 Nov 2003 13:48:03 +0000 diff --git a/debian/rules b/debian/rules index 80aed10..744cdfa 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,7 @@ install: build done getline) { $#f = 3; $a = { data => [ @f ], members => { hashify(split /,/, $f[3]) }, - name => $f[0], gid => $f[2] }; + name => $f[0], gid => $f[2] }; $gbynam{$a->{name}} = $gbygid{$a->{gid}} = $a; } $gr->close; @@ -508,7 +508,7 @@ for $g (values %gbynam) { # --- Check that the group's administrators exist --- if ($sg->{data}[2] ne "" && !$suyb) { - my @admins = + my @admins = my $admin; foreach $admin (split(/,/, $sg->{data}[2])) { exists $ubynam{$admin} or diff --git a/stamp.1 b/stamp.1 index 5cbe9f0..fb55caf 100644 --- a/stamp.1 +++ b/stamp.1 @@ -31,9 +31,9 @@ Show usage message for .BR stamp . .TP .BI "\-f, \-\-format=" format -Use +Use .I format -as the +as the .BR strftime (3) format string for the datestamps. Note that if the datestamp is meant to be separated from the rest of the line by anything, then that diff --git a/stamp.c b/stamp.c index a5655a6..28eca79 100644 --- a/stamp.c +++ b/stamp.c @@ -135,4 +135,4 @@ int main(int argc, char *argv[]) } return ((f & F_BOGUS) ? EXIT_FAILURE : 0); -} +} diff --git a/z.1 b/z.1 index 05f64d8..918f97f 100644 --- a/z.1 +++ b/z.1 @@ -31,6 +31,6 @@ The decompressed versions of files are always created with default owner, group and permissions (as set by the current euid, egid and umask settings). .PP -It doesn't leave file extensions on the decompressed files. +It doesn't leave file extensions on the decompressed files. .SH AUTHOR Mark Wooding