Thursday, April 28, 2016

Search and Replace

Here's a quickie, but goodie...


sed-i -e "s/alice/bob/g" data.json


That will replace every instance of "alice" with "bob" in the file, data.json





This work is licensed under the Creative Commons Attribution 3.0 Unported License.

1 comment: