Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 00:23:23 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        current@freebsd.org
Subject:   (FWD) Re: cvs commit: src/etc/periodic/daily 200.backup-passwd
Message-ID:  <20000127002323.B52191@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
I would appreciate it if those that want things changed would please try
Sheldon's `sed' expression below and report back how it worked for you.


----- Forwarded message from Sheldon Hearn <sheldonh@uunet.co.za> -----
To: "David E. O'Brien" <obrien@FreeBSD.org>
Date: Wed, 26 Jan 2000 18:44:47 +0200

As discussed on the freebsd-current mailing list, I think you'll find
that you missed out a few characters in the new class that defines the
characters that should not appear at the beginning of affected lines:

> -		sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/'
> +		sed 's/^\([^:]*\):[^:]*:/\1:(password):/'

I think what you really want is:

		sed 's/^\([^:#@+-]*\):[^:]*:/\1:(password):/'

----- End forwarded message -----


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?20000127002323.B52191>