Path: utzoo!attcan!uunet!cbmvax!ag From: ag@cbmvax.commodore.com (Keith Gabryelski) Newsgroups: comp.unix.shell Subject: Re: Beware xargs security holes Message-ID: <15301@cbmvax.commodore.com> Date: 22 Oct 90 03:26:29 GMT References: <1990Oct21.223729.10521@chinet.chi.il.us> Reply-To: ag@cbmvax.commodore.com (Keith Gabryelski) Organization: Commodore-Amiga Unix; West Chester, PA Lines: 9 In article <1990Oct21.223729.10521@chinet.chi.il.us> les@chinet.chi.il.us (Leslie Mikesell) writes: >[...] you can still get into trouble with a file named "-r" appearing >at the front of an argument list that might also mention directories. But this is easily taken care of by suppling `--' as the last argument to rm (ie, find . -name '*.dvi' -print | xargs rm --) Pax, Keith