Re(2): filename hoopla

Jim Davis davis at hplabs.UUCP
Tue Aug 9 06:32:16 AEST 1983


        Steven J Holmes <sjh at csnet-purdue> writes:
>	You cannot always use rm -i *. I have accidentally
>	created a file named '-mab' which causes an unkown
>	option message from rm when rm -i * is tried.

	However, 'rm -i ./*' should work fine.  It does on
this system(Berkeley 4.1).

% ls
-mab
% rm -i *
rm: unknown option -mab
% rm -i ./*
rm: remove ./-mab? y
% 
-- 
					Jim Davis (James W Davis)
					...!ucbvax!hplabs!davis
					davis.HP-Labs at UDel-Relay
----------------------------------------------------------------



More information about the Comp.unix.wizards mailing list