freebsd-dev/sys/conf/makeLINT.sed
Marcel Moolenaar e53211de04 Match the files directive and all the ways to add or subtract options
and makeoptions by being a little smarter about REs.
2011-10-04 17:11:38 +00:00

8 lines
177 B
Sed

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