perl -pwe '$^I = ".bak"; s/[<>]/|/g' file1 perl -pwe 'BEGIN { $^I = ".bak" } s/[<>]/|/g' file2 [download]
In reply to Re^7: Delete a line from files by choroba in thread Delete a line from files by alokranjan