replace multiple patterns in sed code example Example: sed replace in multiple file sed -i 's/abc/xyz/g' xaa1 xab1