sed script help4

From: pelicancomputers (rfransix@yahoo.com)
Date: Thu Nov 07 2002 - 10:34:35 EST


i have a one liner like this:

/bin/sed 's/^smDisabled: 1/smDisabled: disabled/' <
$TEMP3 > $DATA_MMM

however, it replaces not only '1', but anything else
that begins with a '1'.

how can i write this to only replace this attribute's
value if it is a '1'?

thank you.

rick
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:16 EDT