Sed find & replace

  Uncategorised

Can’t believe I have to write this down. I keep forgetting!!

sed -i 's/he said/she said/g' infile.txt

LEAVE A COMMENT