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-7-bit From: Brian May Newsgroups: comp.lang.ada Subject: Re: Thought I'd throw this in ;-) for the sake of conversation. References: <2rig76F1b49udU1@uni-berlin.de> Date: Sat, 25 Sep 2004 10:35:01 +1000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:eeEcXJS3qHnG3gNnFn1LMNizW4A= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: dsl-202-173-153-89.vic.westnet.com.au X-Trace: news.melbourne.pipenetworks.com 1096072491 202.173.153.89 (25 Sep 2004 10:34:51 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!news1.optus.net.au!optus!news.mel.connect.com.au!news.alphalink.com.au!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:4145 Date: 2004-09-25T10:35:01+10:00 List-Id: >>>>> "Frank" == Frank J Lhota writes: Frank> I remember once wanting to copy all *.txt from the working Frank> directory to another location. I mistakenly entered the Frank> command Frank> % cp *.txt Frank> leaving off the destination directory. This did not produce Frank> an error message. You see, there were only two *.txt files Frank> at the time, so this command simply copied over the second Frank> one with the contents of the first one! In a university Prac class, I once typed in: % ls ../abc.* ../abc.c ../abc.bak $ mv ../abc.* % ls % ls .. ../abc.bak The (confused) tutor thought I had lost all my work. Fortunately, I realized (after studying these commands for a while) I hadn't lost anything... (at the time I think I was more familiar with MS-DOS; this was a valuable learning experience in differences between how command line parameters are processed between the two systems) Now I have "mv", "cp" and "rm" aliased to use the "-i" flag. -- Brian May