PageRenderTime 11ms CodeModel.GetById 6ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/tmac/fixmacros.sed

https://bitbucket.org/freebsd/freebsd-head/
sed | 7 lines | 6 code | 0 blank | 1 comment | 0 complexity | af65edb3a544bb1a0d6fea10942eceed MD5 | raw file
1# try to fix macros for AT&T troff so that they work without groff's -C switch
2s/^\([.'][	]*[^\\ 	][^ \\]\)\([^ ]\)/\1 \2/
3s/^\(\\![.'][	]*[^\\ 	][^ \\]\)\([^ ]\)/\1 \2/
4s/\([.'][ 	]*i[ef] *[^ ]* [.'][ 	]*[^\\0-9 	][^ \\]\)\([^ ]\)/\1 \2/
5s/\([.'][ 	]*i[ef] *[^ ]* \\{[.'][ 	]*[^\\0-9 	][^ \\]\)\([^ ]\)/\1 \2/
6s/\([.'][	]*[da]s *[^ \\][^ \\]\)\([^ ]\)/\1 \2/
7s/\\\*\[/\\*[[]/