Date: Tue, 25 Jan 2000 21:19:16 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Andy Farkas <andyf@speednet.com.au> Cc: current@FreeBSD.org Subject: Re: y2k problem? naahhh... Message-ID: <200001260219.VAA53639@server.baldwin.cx> In-Reply-To: <Pine.BSF.4.10.10001261052480.17618-100000@backup.af.speednet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001260219.VAA53639>