Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: more rm insanity Message-ID: <9555@mimsy.UUCP> Date: Sat, 28-Nov-87 06:41:14 EST Article-I.D.: mimsy.9555 Posted: Sat Nov 28 06:41:14 1987 Date-Received: Mon, 30-Nov-87 03:28:32 EST References: <1257@boulder.Colorado.EDU> <6840002@hpcllmv.HP.COM> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 20 In article <6840002@hpcllmv.HP.COM> sunil@hpcllmv.HP.COM (Sunil Bhargava) writes: >I had posted a solution to the rm * problem earlier. This involved having >a file called -i in your directory (aliasing mkdir to a mkdir + echo > -i >). What is worng with that solution??. Among other things, it does not always work: % rm tmp. * (oops!) % rm dir/* (hmm) (The latter example reminds me of another thing: Why is it that people have so much trouble figuring out how to remove files whose names start with `-'?) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris