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.  

> 
> > 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/
> 

--
 
 :{ [EMAIL PROTECTED]
  
        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/
  




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to