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
|
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.
|
||||||
|
|
Loading…
Reference in New Issue