replace item..

Hello,
I have the following basic script which is remove the fielld. How can I replace another value in the field? Thx!!

for file in `cat $listn.txt`
do
get_file -q $file
grep -v '<customer-id>13000</customer-id>' $file > $file.grep
done
echo All processed file done!!

input file:
<customer-id>13000</customer-id>

output file:
<customer-id>2400</customer-id>

happyv

anyone can help????

Try...

sed 's!<customer-id>13000</customer-id>!<customer-id>2400</customer-id>!' $file > $file.sed