Daily Archives: 2 October, 2006

sed tee, “Search, replace, and commit back.”

If you are a command-line *nix guy like I am, chances are good you have come cross a point where you wanted to replace a certain pattern in a file and write the change(s) back to the file. If you haven’t already figured it out, sed(1) and tee(1) will help you do that in a [...]