dimanche 15 mars 2015

SED on Mac OS X


I'm using a MacBook Pro and I want to find and replace a given word with another with sed command, but it makes no changes. What is the problem?



sed 's/\<cat\>/dog/g' tt.txt


Aucun commentaire:

Enregistrer un commentaire