On 25-Jan-00 John Polstra wrote:
> In article
> <[EMAIL PROTECTED]>,
> Andy Farkas <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message