From owner-freebsd-current Thu Jan 27 2:24:48 2000 Delivered-To: freebsd-current@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id A73861553E; Thu, 27 Jan 2000 02:24:41 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 12Dm6P-000F7Y-00; Thu, 27 Jan 2000 12:24:37 +0200 From: Sheldon Hearn To: obrien@FreeBSD.ORG Cc: current@FreeBSD.ORG Subject: Re: (FWD) Re: cvs commit: src/etc/periodic/daily 200.backup-passwd In-reply-to: Your message of "Thu, 27 Jan 2000 00:23:23 PST." <20000127002323.B52191@dragon.nuxi.com> Date: Thu, 27 Jan 2000 12:24:36 +0200 Message-ID: <58105.948968676@axl.noc.iafrica.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 27 Jan 2000 00:23:23 PST, "David O'Brien" wrote: > I think what you really want is: > > sed 's/^\([^:#@+-]*\):[^:]*:/\1:(password):/' Eeek, I don't know why I sent you that. It should have been: sed 's/^\([ +-][^+-][^:]*\):[^:]*:/\1:(password):/' Sorry about that. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message