On 12/08/2010 10:45 AM, Alexander Kurtakov wrote:
+sed -i
"s|\<groupId\>ant\<\/groupId\>|<groupId>org.apache.ant</groupId>|g"
build.xml
It's actually not needed to escape <,> and even / if you used different
delimiter (which you did). So this could be written as:
sed -i
"s|<groupId>ant</groupId>|<groupId>org.apache.ant</groupId>|g"
build.xml
What is boggling me though is...there is no groupId in build.xml :-)
--
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Associate Software Engineer - Base Operating Systems Brno
PGP: 71A1677C
Red Hat Inc.
http://cz.redhat.com