All entries for Saturday 22 October 2005
October 22, 2005
Today's lesson: don't redirect the output of sed to the file it's working on.
For reasons I don't entirely understand, it will wipe the file!
Especially don't do this if you're doing it inside a for statement looping through all the files of your coursework.