Skip site navigation (1)Skip section navigation (2)
Date:      07 Apr 1999 02:17:56 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Sheldon Hearn <sheldonh@iafrica.com>
Cc:        Scott Michel <scottm@cs.ucla.edu>, current@FreeBSD.ORG
Subject:   Re: YP/NIS and passwd weirdness
Message-ID:  <xzp3e2ds2q3.fsf@flood.ping.uio.no>
In-Reply-To: Sheldon Hearn's message of "Tue, 06 Apr 1999 15:47:59 %2B0200"
References:  <22541.923406479@axl.noc.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sheldon Hearn <sheldonh@iafrica.com> writes:
> -awk -F: '$2=="" {print $0}' /etc/master.passwd
> +grep -v '^\+' /etc/master.passwd | awk -F: '$2=="" {print $0}'

auuuuuuuuuuuugh!

awk -F: '$1 !~ /^\+/ && $2=="" {print $0}' /etc/master.passwd

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


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?xzp3e2ds2q3.fsf>