summaryrefslogtreecommitdiff
path: root/usr.bin/head
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-05-28 17:08:49 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-05-28 17:08:49 +0000
commit4c29e05b74e3c6115915a1e27bc29e124a18ef29 (patch)
treecc8908fe16620ca637997fe59bc85a71b5d87ff3 /usr.bin/head
parentf7d37f7b04b87ce1b862155e780dd96ccc984618 (diff)
Make recursive parsing of roff(7) escapes actually work in the general case,
in particular when the inner escapes are preceded or followed by other terms. While doing so, remove lots of bogus code that was trying to make pointless distinctions between numeric and non-numeric escape sequences, while both actually share the same syntax and we ignore the semantics anyway. This prevents some of the strings defined in the pod2man(1) preamble from producing garbage output, in particular in scandinavian words. Of course, proper rendering of scandinavian national characters cannot be expected even with these fixes.
Diffstat (limited to 'usr.bin/head')
0 files changed, 0 insertions, 0 deletions