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
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.