freebsd-dev/contrib/groff/tmac/fixmacros.sed

8 lines
377 B
Sed
Raw Normal View History

2001-04-17 12:12:05 +00:00
# try to fix macros for AT&T troff so that they work without groff's -C switch
1996-09-07 16:18:32 +00:00
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/\\\*\[/\\*[[]/