freebsd-dev/gnu/usr.bin/groff/devps/psstrip.sed
1995-01-15 08:10:00 +00:00

7 lines
83 B
Sed

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