summaryrefslogtreecommitdiff
path: root/tmac/fixmacros.sed
blob: 56caf9fd7423dacbdbb4947b37e93fc6d059b9d0 (plain)
1
2
3
4
5
6
7
# 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/\\\*\[/\\*[[]/