From owner-freebsd-current Thu Sep 14 15:16:36 2000 Delivered-To: freebsd-current@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (w250.z064001178.sjc-ca.dsl.cnc.net [64.1.178.250]) by hub.freebsd.org (Postfix) with SMTP id 445F037B424 for ; Thu, 14 Sep 2000 15:16:34 -0700 (PDT) Received: (qmail 15961 invoked by uid 1000); 14 Sep 2000 22:16:50 -0000 Date: Thu, 14 Sep 2000 15:16:50 -0700 From: Jos Backus To: current@FreeBSD.ORG Subject: Re: SMPNG kernel on UP Message-ID: <20000914151650.A15150@lizzy.bugworks.com> Reply-To: Jos Backus Mail-Followup-To: current@FreeBSD.ORG References: <200009141941.MAA86101@pike.osd.bsdi.com> <200009141946.NAA98535@harmony.village.org> <200009142042.QAA15287@khavrinen.lcs.mit.edu> <200009142053.QAA15413@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200009142053.QAA15413@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Thu, Sep 14, 2000 at 04:53:54PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 14, 2000 at 04:53:54PM -0400, Garrett Wollman wrote: > (Probably easier, actually, but I don't know AWK well enough to > actually implement it.) awk -F: '$0 ~/^(#|$)/ {next} {print "#define\tUID_" toupper($1) "\t" $3}' ${PASSWD} > ${.TARGET} -- Jos Backus _/ _/_/_/ "Modularity is not a hack." _/ _/ _/ -- D. J. Bernstein _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message