summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/devps/psstrip.sed
blob: 3e61775af778fc83a8643d1a68256288531c13d2 (plain)
1
2
3
4
5
6
7
/^%[%!]/b
s/%.*//
s/^[ 	][ 	]*//
s/[ 	][ 	]*$//
/^$/d
s|[ 	]*\([][}{/]\)|\1|g
s|\([][}{/]\)[ 	]*|\1|g