freebsd-dev/sys/conf/makeLINT.sed
des 998737d6f2 Join the pissing contest: generate LINT with a single sed(1) command.
Smaller script, smaller (though equivalent) output.
2002-05-02 16:34:47 +00:00

8 lines
157 B
Sed

#!/usr/bin/sed -E -n -f
# $FreeBSD$
/^(machine|ident|device|makeoptions|options|profile|cpu|option|maxusers)[[:space:]]/ {
s/[[:space:]]*#.*$//
p
}