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
>
>
> On Thu, 27 Jan 2000 00:23:23 PST, "David O'Brien" wrote:
>
> > I think what you really want is:
> >
> > sed 's/^\([^:#@+-]*\):[^:]*:/\1:(password):/'
>
> Eeek, I don't know why I sent you that. It should have been:
>
> sed 's/^\([ +-][^+-][^:]*\):[^:]*:/\1:(password)
On Thu, 27 Jan 2000 00:23:23 PST, "David O'Brien" wrote:
> I think what you really want is:
>
> sed 's/^\([^:#@+-]*\):[^:]*:/\1:(password):/'
Eeek, I don't know why I sent you that. It should have been:
sed 's/^\([ +-][^+-][^:]*\):[^:]*:/\1:(password):/'
Sorry about t
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 <[EMAIL PROTECTED]> -
To: "David E. O'Brien" <[EMAIL PROTECTED]>
Date: Wed, 26 Jan 2000 18:44:47 +0200