I am running the following command:
find /home/debajdas/checkout -name \'pom.xml\' -or -name \'*.properties\' | xargs sed -i \'s/10.0.0.0.3/10.0.0.0.4/gpw ch
You must remove 'p' that prints current pattern space.
sed -i 's/10\.0\.0\.0\.3/10.0.0.0.4/gw changes'
sed -i 's/\.3/.4/w changes'