Sender: eric@ruckus.brouhaha.com
From: Eric Smith <eric-no-spam-for-me@brouhaha.com>
Newsgroups: rec.arts.int-fiction
Subject: Re: rm * (Kiss your ass goodbye)
References: <alasif$1p3qh4$1@ID-151409.news.dfncis.de>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy.
Date: 06 Sep 2002 12:27:20 -0700
Message-ID: <qh4rd2or53.fsf@ruckus.brouhaha.com>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 209.66.107.17
X-Trace: 6 Sep 2002 12:52:19 -0700, 209.66.107.17
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!nntp.abs.net!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.spies.com!209.66.107.17
Xref: news.duke.edu rec.arts.int-fiction:108365

"Nikos Chantziaras" <realnc@hotmail.com> writes:
> I log in, cd to the working directory of my game-in-progress, and type
>
>     rm *~
>
> to get rid of all those backup-files that gathered there.  No, wait, I
> didn't type that!  Instead, I typed:
>
>     rm *
>
> Wheeee!  I just blew away the work of an entire week!

Whenever I use a potentially dangerous wildcard (by which I mean, a wildcard
that if mistyped is likely to cause me grief), I usually do an echo with
the wildcard first, and only if I like the results do I use command editing
(bash shell) to bring back that command and change the echo to another command
(like rm).

I do that specifically for your "rm *~" example.  Although usually I have
"make clean" do it so that I don't have to type the wildcard at all.
