On 16/12/11 12:53 PM, Josh Dersch wrote:
... Remember that the next time you type "rm
* .o"
instead of "rm *.o" by mistake. :)
(Yes I know Unix gurus never make typos, it's purely hypothetical.)
Well, I'm probably not a 'guru', but I've certainly made THAT particular
typo once that I recall. :)
There is a probably apocryphal story (I think in the Jargon File) about
one of the lisp machine OSes which had a DWIM 'feature'. Said OS also
saved the origianl file when editing in a file of the same bame with a
'$' appeneded to it. Apparently somebody wanted to clean up their files
by deleting all such backup files and typed del *$ (or whatever the
delete command was called). Unfortunately there were no backup files and
DWIM helpfuflly came back with 'cannot finds *$, assuming you meant *'
and started deleting all his files.
-tony