summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf/makeLINT.sh
blob: 12b5c13326ab46b212125eefd471ca3f940a619a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh
# $FreeBSD$

/usr/bin/sed -e 's/#.*//' -e 's/\//' | /usr/bin/awk '
/^[ \t]*$/	{ next }
/^hint\./	{ next }
/^(\
machine|\
ident|\
device|\
makeoptions|\
options|\
profile|\
cpu|\
option|\
maxusers\
)[ \t]/		{ print; next }
{ printf("unrecognized line: line %d: %s\n", NR, $0) > "/dev/stderr" }
'
OpenPOWER on IntegriCloud