Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2000 14:26:33 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Cc:        obrien@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: (FWD) Re: cvs commit: src/etc/periodic/daily 200.backup-passwd 
Message-ID:  <97396.948975993@axl.noc.iafrica.com>
In-Reply-To: Your message of "Thu, 27 Jan 2000 04:11:38 PST." <200001271211.EAA76788@gndrsh.dnsmgr.net> 

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


On Thu, 27 Jan 2000 04:11:38 PST, "Rodney W. Grimes" wrote:

> > 	sed 's/^\([ +-][^+-][^:]*\):[^:]*:/\1:(password):/'
> 
> IMNSO sed is the wrong tool here,

No arguments from me, since my awk skills are limited.  However, I'll
point out that sed is doing a decent job without turning into an
invocation mess.  The awk program you sent is much longer.  Oh, and it
produces absolutely no output whatsoever over here.  :-)

Ciao,
Sheldon.


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?97396.948975993>