Skip to content

Commit

Permalink
Revert txt2man to actual 1.7.1 release version
Browse files Browse the repository at this point in the history
  • Loading branch information
krempel-pt committed Mar 23, 2022
1 parent 405afbb commit 7e06d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/txt2man
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ do
(I) itxt="$OPTARG§$itxt";;
(B) btxt="$OPTARG§$btxt";;
(T) post="groff -mandoc -Tlatin1 | ${PAGER:-more}";;
(X) post="groff -mandoc -TX100-12 -rS12";;
(X) post="groff -mandoc -X -P-resolution -P100";;
(*) usage; exit;;
esac
done
Expand Down Expand Up @@ -214,7 +214,7 @@ BEGIN {
# remove spaces in empty lines
sub(/^ +$/,"")
}
/^[:space:]*[[:upper:][:digit:]]+[[:upper:][:space:][:digit:][:punct:]]+$/ {
/^[[:upper:][:space:][:digit:][:punct:]]+$/ {
# Section header
if ((in_bd + 0) == 1) {
in_bd = 0
Expand Down

0 comments on commit 7e06d1f

Please sign in to comment.