On 31.05.2010 15:33, Andrey Rahmatullin wrote:
, 2010 at 07:28:55PM +0400, Yuri Kozlov wrote:> > cat file | sed -e '{ s/background-color:.*;/xxx/g }' > > Как-то так, не?> $echo "11111 background-color: #sdfdfdf; 44444444 background-color: black; 00000" | sed -e 's/background-color: .[^;]*;/xxx/g' > $11111 xxx 44444444 xxx 00000s/\(background-color:\)[^;]*\(;\)/\1xxx\2/g
Отлично работает. Спасибо. -- Sincerely, Nicholas