xref: /netbsd-src/external/gpl2/groff/dist/tmac/fixmacros.sed (revision 89a07cf815a29524268025a1139fac4c5190f765)
1# try to fix macros for AT&T troff so that they work without groff's -C switch
2s/^\([.'][	]*[^\\ 	][^ \\]\)\([^ ]\)/\1 \2/
3s/^\(\\![.'][	]*[^\\ 	][^ \\]\)\([^ ]\)/\1 \2/
4s/\([.'][ 	]*i[ef] *[^ ]* [.'][ 	]*[^\\0-9 	][^ \\]\)\([^ ]\)/\1 \2/
5s/\([.'][ 	]*i[ef] *[^ ]* \\{[.'][ 	]*[^\\0-9 	][^ \\]\)\([^ ]\)/\1 \2/
6s/\([.'][	]*[da]s *[^ \\][^ \\]\)\([^ ]\)/\1 \2/
7s/\\\*\[/\\*[[]/
8