X-Git-Url: https://git.distorted.org.uk/~mdw/misc/blobdiff_plain/c5ed60bed17363e55508026876f8fc59a67d8c9c..4641d6e29bb77342a80a494484f5575ad39bf3f8:/space.1 diff --git a/space.1 b/space.1 index 7d6c2e2..d1dc55a 100644 --- a/space.1 +++ b/space.1 @@ -10,7 +10,7 @@ space \- check and fix whitespace in files .SH SYNOPSIS .B space -.RB [ \-cmtuv ] +.RB [ \-clmtuv ] .RB [ \-i \c .RI [ backup ]] .RI [ file ...] @@ -31,6 +31,9 @@ files. In particular, it will notice and (if you want) fix .BR diff (1) not least; .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 @@ -54,6 +57,14 @@ option with this; without it, .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 \-i [ \fIbackup ] Modify all the .IR file s