Here's a basic example of using sed. Search file_src for all ocurrences of string1 and replace them with string2, write the output to file_dest sed s/string1/string2/g file_src > file_dest
© 2005 tiplib.com