From owner-freebsd-current Tue Apr 6 17:20: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 4936A156DE for ; Tue, 6 Apr 1999 17:20:05 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.2/8.9.1) id CAA59835; Wed, 7 Apr 1999 02:17:57 +0200 (CEST) (envelope-from des) To: Sheldon Hearn Cc: Scott Michel , current@FreeBSD.ORG Subject: Re: YP/NIS and passwd weirdness References: <22541.923406479@axl.noc.iafrica.com> From: Dag-Erling Smorgrav Date: 07 Apr 1999 02:17:56 +0200 In-Reply-To: Sheldon Hearn's message of "Tue, 06 Apr 1999 15:47:59 +0200" Message-ID: Lines: 11 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn 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