pdfman: convert ˆ to ^.
This commit is contained in:
parent
66ad2c24d4
commit
31aeea724e
|
@ -117,6 +117,11 @@ fi
|
||||||
|
|
||||||
man -w "$@" |
|
man -w "$@" |
|
||||||
parallel 'zcat {} || cat {}' 2>/dev/null |
|
parallel 'zcat {} || cat {}' 2>/dev/null |
|
||||||
|
# Convert ˆ to ^
|
||||||
|
# remove lines like: . ds ^ \&
|
||||||
|
perl -ne '/^\s*\.\s*ds\s+\S*\^/ or print' |
|
||||||
|
# replace ^ with \(ha
|
||||||
|
sed 's/\^/\\(ha/g' |
|
||||||
# Convert -- to - and '' to "
|
# Convert -- to - and '' to "
|
||||||
(echo '.tr \--'; perl -pe "s/''|\`\`/\"\"/g;") |
|
(echo '.tr \--'; perl -pe "s/''|\`\`/\"\"/g;") |
|
||||||
man -tl - |
|
man -tl - |
|
||||||
|
|
Loading…
Reference in a new issue