From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8189ed626c26fad0 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: Chris Humphries Newsgroups: comp.lang.ada Subject: Re: Thought I'd throw this in ;-) for the sake of conversation. Date: Fri, 24 Sep 2004 09:35:18 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <41542296.8050006@unixfu.net> User-Agent: Mozilla Thunderbird 0.8 (X11/20040918) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <2rig76F1b49udU1@uni-berlin.de> In-Reply-To: <2rig76F1b49udU1@uni-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@supernews.com Xref: g2news1.google.com comp.lang.ada:4101 Date: 2004-09-24T09:35:18-04:00 List-Id: Nick Roberts wrote: > Bj�rn Persson wrote: > >> stephane richard wrote: >> >>> a.. Unix: >>> % ls foot.c foot.h foot.o toe.c toe.o >>> % rm *.o rm:.o: No such file or directory >>> % ls >>> % >> >> >> Someone has screwed up that one, including removing the space that >> constituted the actual shot in the foot. It's supposed to look like this: >> >> % ls >> foot.c foot.h foot.o toe.c toe.o >> % rm * .o >> rm: .o: No such file or directory >> % ls >> % > > > And in fact, a fellow student at my university did precisely this. I had > the unfortunate task of telling her that all her coursework for the last > two weeks was gone. Luckily she got it back (from systems daily backup), > but lost a day's work all the same. > > And people still ask me, in querulous tones, why I hate Unix so much. > I'd rather use something that enables me to have the power to shoot my foot off, then slowly bleed and deny any bullet holes existed before you recieved it, until enough people see the holes. Think we all have done the rm mistake, it is a learning process, like anything else. There is nothing inheritly wrong with unix and the rm command, it does exactly as you instructed it to do.. easy fix: don't tell it to do what you don't want it to do. Ignorance is no excuse :) Some people new to unix/linux have rm aliased to rm -i, so it asks you if you really want to remove what you instructed it to :) It is just how it is. Unix enables you to have complete control of the os and with that comes an understanding that you are behind the wheel and should know what you are doing. Just like Ada or any other programming language :) Bet your fellow student will not make that same rm mistake in a while ;)