space \- check and fix whitespace in files
.SH SYNOPSIS
.B space
-.RB [ \-cmtuv ]
+.RB [ \-clmtuv ]
.RB [ \-i \c
.RI [ backup ]]
.RI [ file ...]
\(en which confuses a number of programs,
.BR diff (1)
not least;
-.hP \*o groups of spaces
-which could be replaced by tabs; or
+.hP \*o
+.I trailing blank lines
+\(en which some editors, notably Emacs, introduce by default;
+.hP \*o
+.I groups of spaces which could be replaced by tabs
+\(en replacing them with the appropriate tab characters; or
.hP \*o
.I all tab characters
\(en replacing them with appropriate numbers of spaces.
.B space
is silent.
.TP
+.B \-l
+Check the file for trailing blank lines, i.e., lines containing only
+horizontal whitespace. With
+.BR \-v ,
+report if the file has trailing blank lines; without
+.BR \-c ,
+remove these trailing blank lines from the output.
+.TP
+.BR \-v
+Report detailed messages about whitespace problems encountered. Useful
+with
+.BR \-c ,
+for example.
+.TP
.BR \-i [ \fIbackup ]
Modify all the
.IR file s
the old
.I file
is renamed to
-.I filebackup
+.I file "" backup
and the new file is renamed to
.IR file .
If something very complicated goes wrong at just the right moment, it's
.PP
This space program doesn't even attempt moon landings. The space man
page doesn't have wiggly antennae.
+.PP
+The jokes in the man page are somewhat lame.
.SH AUTHOR
Mark Wooding, <mdw@distorted.org.uk>