From owner-freebsd-current Wed May 1 20: 4:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 9EAE137B41C for ; Wed, 1 May 2002 20:04:49 -0700 (PDT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 25C8124D39 for ; Thu, 2 May 2002 12:04:49 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id BD1D91E46E8 for ; Thu, 2 May 2002 12:04:47 +0900 (JST) Date: Thu, 02 May 2002 12:04:47 +0900 Message-ID: <7m7kmn1c8g.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: current@FreeBSD.org Subject: Replace makeLINT.pl with makeLINT.sh User-Agent: Wanderlust/2.9.10 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message