From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Ralph Corderoy Message-ID: <13ec.3d1d9541.93430@blake.inputplus.co.uk> References: , <3D1C2D03.B288CC2B@strakt.com>, <3D1C6EBC.24AAE27E@null.net> Subject: Re: [9fans] dumb question Date: Mon, 1 Jul 2002 09:46:47 +0000 Topicbox-Message-UUID: bef05c1c-eaca-11e9-9e20-41e7f4b1d025 Hi Douglas, > But in general one might be processing files named by somebody else, > e.g. to move the last user off a mounted filesystem onto a new larger > one. And in general it's a serious problem: > > $ > 'funny file name; rm -rf /' > $ ls > funny file name; rm -rf / > $ find . -print | xargs echo > funny file name > panic -- essential files not found The shell doesn't necessarily get involved with xargs' processing though. Here's some actual output, rather than theorectical. $ ls h* hello; date $ ls h* | xargs echo hello; date I agree the problem exists, just that it doesn't always trigger. Cheers, Ralph.