From owner-freebsd-current Thu Jan 27 0:23:25 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 9FD8D14D39 for ; Thu, 27 Jan 2000 00:23:22 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (root@d60-025.leach.ucdavis.edu [169.237.60.25]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id AAA36943 for ; Thu, 27 Jan 2000 00:23:21 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id AAA52231 for current@freebsd.org; Thu, 27 Jan 2000 00:23:23 -0800 (PST) (envelope-from obrien) Date: Thu, 27 Jan 2000 00:23:23 -0800 From: "David O'Brien" To: current@freebsd.org Subject: (FWD) Re: cvs commit: src/etc/periodic/daily 200.backup-passwd Message-ID: <20000127002323.B52191@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would appreciate it if those that want things changed would please try Sheldon's `sed' expression below and report back how it worked for you. ----- Forwarded message from Sheldon Hearn ----- To: "David E. O'Brien" Date: Wed, 26 Jan 2000 18:44:47 +0200 As discussed on the freebsd-current mailing list, I think you'll find that you missed out a few characters in the new class that defines the characters that should not appear at the beginning of affected lines: > - sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/' > + sed 's/^\([^:]*\):[^:]*:/\1:(password):/' I think what you really want is: sed 's/^\([^:#@+-]*\):[^:]*:/\1:(password):/' ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message