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
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):/'
IMNSO
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