1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/contrib/groff/tmac/fixmacros.sed
2001-04-17 12:12:05 +00:00

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/\\\*\[/\\*[[]/