]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/groff/tmac/fixmacros.sed
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / groff / tmac / fixmacros.sed
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/\\\*\[/\\*[[]/