From: Jim Weirich Date: 2002-12-08T01:09:41+09:00 Subject: Re: Thank God for backups On Fri, 2002-12-06 at 23:40, Daniel Carrera wrote: > I was working on the tutorial just now and wanted to delete all the *~ > files. But instead of typing `rm *~` I typed `rm *` and all the files > were silently deleted. I did something similar many years ago. I typed 'rm * .bak' instead of 'rm *.bak'. The command deleted all my files and then politely informed me that there wasn't any file named '.bak'. I now make it a standard practice to define a script called 'rmbak' that deletes all the ~, .bak, etc. files. Therefore I almost never have to type 'rm' with a '*' anymore. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)