1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/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
}