Date: Thu, 02 May 2002 12:04:47 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: current@FreeBSD.org Subject: Replace makeLINT.pl with makeLINT.sh Message-ID: <7m7kmn1c8g.wl@black.imgsrc.co.jp>
next in thread | raw e-mail | index | archive | help
How about using this script instead of makeLINT.pl?
# MIME multipart post is rejected by hub...
-----
#! /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" }
'
-----
--
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama@FreeBSD.org> // FreeBSD Project
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m7kmn1c8g.wl>
