* release of groffer 0.9.18
[s-roff.git] / tmac / fixmacros.sed
blob56caf9fd7423dacbdbb4947b37e93fc6d059b9d0
1 # try to fix macros for AT&T troff so that they work without groff's -C switch
2 s/^\([.'][      ]*[^\\  ][^ \\]\)\([^ ]\)/\1 \2/
3 s/^\(\\![.'][   ]*[^\\  ][^ \\]\)\([^ ]\)/\1 \2/
4 s/\([.'][       ]*i[ef] *[^ ]* [.'][    ]*[^\\0-9       ][^ \\]\)\([^ ]\)/\1 \2/
5 s/\([.'][       ]*i[ef] *[^ ]* \\{[.'][         ]*[^\\0-9       ][^ \\]\)\([^ ]\)/\1 \2/
6 s/\([.'][       ]*[da]s *[^ \\][^ \\]\)\([^ ]\)/\1 \2/
7 s/\\\*\[/\\*[[]/