And it is equivalent to, simply:sed 's/peadhcp-163.net1.bgslashpea/Success/g' Target-0802A.txt > Target-0803A.txt And, as I have told you many times, a non-escaped dot in a regular expression means "any single character". As a consequence, it should probably be: sed 's/peadhcp-163\.net1\.bgslashpea/Success/g' Target-0802A.txt > Target-0803A.txt
These days, I do not have time to decipher your posts. Anyway, a pipe is
missing in:
cat Target-0802A.txt sed 's/'peadhcp-163.net1.bgslashpea'/'Success'/g' >
Target-0803A.txt
