freebsd-skq/sys/i386/conf/makeLINT.sh

20 lines
307 B
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#! /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" }
'