echo "Table-html-excerpt.txt" | awk '{gsub(/

ip-54-38-38\.eu<\/p>/, "

ip-54-38-38\.eu<\/a><\/p>")}1' Table-html-excerpt.txt |more bash: syntax error near unexpected token `)' echo "Table-html-excerpt.txt" | awk \'{gsub(/<\p>ip-54-38-38\.eu<\/\p>/, "<\p>ip-54-38-38\.eu<\/a><\/\p>")}1\' Table-html-excerpt.txt |more bash: syntax error near unexpected token `(' echo "Table-html-excerpt.txt" | awk '{gsub(/<290>ip-66-70-185\.eu<291>/, "<290>ip-54-38-38\.eu<\/a><291>")}1' Table-html-excerpt.txt |more bash: syntax error near unexpected token `)' echo "Table-html-excerpt.txt" | awk \'{gsub(/<290>ip-66-70-185\.eu<291>/, "<290>ip-54-38-38\.eu<\/a><291>")}1\' Table-html-excerpt.txt |more bash: syntax error near unexpected token `(' gawk -i inplace \'{gsub(/\<\p\>ip-54-38-38\.eu\<\/p\>/,\"\<\p\>\<\a\shref=\"ScoreCards-IPv4/MatchedPTRs/ip-54-38-38\.eu\'\.txt\"\>ip-54-38-38\.eu\<\/a\>\<\/p\>\")}1\' Table-html-excerpt.txt bash: syntax error near unexpected token `/\<' (That's "<" - GL)