1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/conf/makeLINT.sed
Dag-Erling Smørgrav cff135d87c 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
}