freebsd_amp_hwpstate/contrib/groff/tmac/fixmacros.sed

8 lines
377 B
Sed

# try to fix macros for AT&T troff so that they work without groff's -C switch
s/^\([.'][ ]*[^\\ ][^ \\]\)\([^ ]\)/\1 \2/
s/^\(\\![.'][ ]*[^\\ ][^ \\]\)\([^ ]\)/\1 \2/
s/\([.'][ ]*i[ef] *[^ ]* [.'][ ]*[^\\0-9 ][^ \\]\)\([^ ]\)/\1 \2/
s/\([.'][ ]*i[ef] *[^ ]* \\{[.'][ ]*[^\\0-9 ][^ \\]\)\([^ ]\)/\1 \2/
s/\([.'][ ]*[da]s *[^ \\][^ \\]\)\([^ ]\)/\1 \2/
s/\\\*\[/\\*[[]/