diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2009-02-20 20:27:47 +1300 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2009-02-20 20:27:47 +1300 |
commit | 7c5c0494a33ab5921f7a77e911930b0de7da9f5b (patch) | |
tree | edecd2c506be660537b2d8edeb6a6b00052cbddf | |
parent | f2f7397a26dfaeb938d8617d3b17768cfca0126b (diff) |
Removed trailing white space at end of lines
-rw-r--r-- | Changes | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -66,16 +66,16 @@ Various pages for f in man*/*; do awk ' /^.SH ["]SEE ALSO["]/ { - sa=1; print "== " FILENAME " =="; print; next + sa=1; print "== " FILENAME " =="; print; next } /^\.(PP|SH)/ { sa=0; no=0; next } /^\.BR/ { if (sa==1) { - print; + print; if (no == 1) - print "Missing comma in " FILENAME " +" FNR-1; no=0 + print "Missing comma in " FILENAME " +" FNR-1; no=0 } } /^\.BR .*)$/ { @@ -85,11 +85,11 @@ Various pages } /\.\\"/ {next} /.*/ { - if (sa==1) { - print; next + if (sa==1) { + print; next } } - ' $f; + ' $f; done | fgrep 'Missing comma' This patch fixes all the places found by the above script. |