freebsd-skq/contrib/groff/devps/psstrip.sed
1996-09-07 16:18:32 +00:00

8 lines
102 B
Sed

/^%[%!]/b
s/%.*//
s/^[ ][ ]*//
s/[ ][ ]*$//
/^$/d
s|[ ]*\([][}{/]\)|\1|g
s|\([][}{/]\)[ ]*|\1|g