Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 12:59:20 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.org, andyf@speednet.com.au
Subject:   Re: y2k problem?  naahhh...
Message-ID:  <200001251759.MAA92935@server.baldwin.cx>
In-Reply-To: <200001251629.IAA24535@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-Jan-00 John Polstra wrote:
> In article
> <Pine.BSF.4.10.10001260231560.14344-100000@backup.af.speednet.com.au>,
> Andy Farkas  <andyf@speednet.com.au> wrote:
>> 
>> There are some pretty funky date/times being displayed in my daily run
>> output.  Just thought I'd mention it; I've only just upgraded to
>> 4.0-current and don't recall seeing this before.
>> 
>> 
>> 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.  Then again, we could just get rid of the '-u' option to
diff. :)

> John

-- 

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?200001251759.MAA92935>