or download this
perl -pi -e 's#\Q(.*)\$/'"'"',\$lines,\$matches))10.(.*)\$/'"'"',\$li
+nes,\$matches))(.*)\$/'"'"',\$lines,\$matches))# #gi' result.txt > re
+sult1.txt
-- Output (from perl - bash is happy!!!) --
Can't open result.txt: No such file or directory.