Example (you must be in a unix environment with GNU free software):
sed 's/old_word/new_word/g' text_file > new_text_file
After which, new_text_file will contain the contents of text_file, except with the new_word values in place of the old_word values. For those interested in more detailed information, as usual, man (in this case man sed) is your friend.
Nessun commento:
Posta un commento