On Oct 27 2006, Charles Forsyth wrote: > see the `overwrite' command in Kernighan and Pike: > > overwrite myfile sed 's/fool/bar' myfile > and it's useful for tr and commands with similar interfaces alternatively you can use the -i flag for GNU sed (but only GNU).