mirror of https://github.com/mkerrisk/man-pages
Removed trailing white space at end of lines
This commit is contained in:
parent
f2f7397a26
commit
7c5c0494a3
12
Changes
12
Changes
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue