we need to add the line <property name="assumeHungTime" value="600000" />
after the line <bean id="DataUnpacker" class="com-packer" singleton="false">
in one xml file . Please let me know the command to add it – using sed?
Thanks, Ravikanth
Advertisement
Answer
The follwing sed
command will do what you want.
sed -e '/<bean id="DataUnpacker" class="com-packer" singleton="false">/a<property name="assumeHungTime" value="600000" />'