Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 15:16:50 -0700
From:      Jos Backus <josb@cncdsl.com>
To:        current@FreeBSD.ORG
Subject:   Re: SMPNG kernel on UP
Message-ID:  <20000914151650.A15150@lizzy.bugworks.com>
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
References:  <200009141941.MAA86101@pike.osd.bsdi.com> <200009141946.NAA98535@harmony.village.org> <200009142042.QAA15287@khavrinen.lcs.mit.edu> <200009142053.QAA15413@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000914151650.A15150>