From owner-freebsd-current Tue Jan 25 18:19:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 364A514E70 for ; Tue, 25 Jan 2000 18:19:34 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id VAA53639; Tue, 25 Jan 2000 21:19:16 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <200001260219.VAA53639@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 25 Jan 2000 21:19:16 -0500 (EST) From: John Baldwin To: Andy Farkas Subject: Re: y2k problem? naahhh... Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 25-Jan-00 Andy Farkas wrote: > > On Tue, 25 Jan 2000, John Baldwin wrote: > >> >> Backup passwd and group files: >> >> passwd diffs: >> >> --- /var/backups/master.passwd.bak Wed Jan 5 10:(password):41 2000 >> >> +++ /etc/master.passwd Tue Jan 25 15:(password):44 2000 >> >> @@ -1,3 +1,5 @@ >> >> +# $FreeBSD:(password):09:07 peter Exp $ >> >> +# >> >> root:(password):0:0::0:0:Charlie &:/root:/bin/csh >> >> toor:(password):0:0::0:0:Bourne-again Superuser:/root: >> >> daemon:(password):1:1::0:0:Owner of many system >> >> processes:/root:/sbin/nologin >> > >> > Heh, I'd say revision 1.5 of "src/etc/periodic/daily/200.backup-passwd" >> > needs a bit more work. :-) >> >> Doh, I tried to fix the sed expression so it would work with various diff >> formats (since I, for example, prefer the old format). I guess a simple: >> 'egrep -v '^(---|+++|@@)' inserted in the pipeline between the diff -u and >> the >> sed might fix it. > > The $FreeBSD ID is being creamed as well. Ok then: 'egrep -v '^(---|+++|@@|[+-]#)', geez, am I the only one who knows regex? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message