Unix problem

Kenneth Herron kherron at ms.uky.edu
Tue Apr 23 10:25:33 AEST 1991


mostek at motcid.UUCP (Frank B. Mostek) writes:

>find . -name "-C" -exec rm -f {} \;

>I am not sure why this works and
>rm -f "-C" does not work.

Because find will do the same thing the Frequently Asked Questions 
list suggests--it will execute

rm -f ./-C
-- 
Kenneth Herron                                            kherron at ms.uky.edu
University of Kentucky                                        (606) 257-2975
Department of Mathematics 
             "P.S.:  Please excuse the lateness of my reply." -- Ringo Starr



More information about the Comp.unix.misc mailing list