Removed trailing white space at end of lines

This commit is contained in:
Michael Kerrisk 2009-02-20 20:27:47 +13:00
parent f2f7397a26
commit 7c5c0494a3
1 changed files with 6 additions and 6 deletions

12
Changes
View File

@ -66,16 +66,16 @@ Various pages
for f in man*/*; do for f in man*/*; do
awk ' awk '
/^.SH ["]SEE ALSO["]/ { /^.SH ["]SEE ALSO["]/ {
sa=1; print "== " FILENAME " =="; print; next sa=1; print "== " FILENAME " =="; print; next
} }
/^\.(PP|SH)/ { /^\.(PP|SH)/ {
sa=0; no=0; next sa=0; no=0; next
} }
/^\.BR/ { /^\.BR/ {
if (sa==1) { if (sa==1) {
print; print;
if (no == 1) if (no == 1)
print "Missing comma in " FILENAME " +" FNR-1; no=0 print "Missing comma in " FILENAME " +" FNR-1; no=0
} }
} }
/^\.BR .*)$/ { /^\.BR .*)$/ {
@ -85,11 +85,11 @@ Various pages
} }
/\.\\"/ {next} /\.\\"/ {next}
/.*/ { /.*/ {
if (sa==1) { if (sa==1) {
print; next print; next
} }
} }
' $f; ' $f;
done | fgrep 'Missing comma' done | fgrep 'Missing comma'
This patch fixes all the places found by the above script. This patch fixes all the places found by the above script.