Re: scripting question
On Fre, 18 Apr 2003 at 03:17 (+1200), Richard Hector wrote:
> On Thu, Apr 17, 2003 at 02:47:46PM +0100, Colin Watson wrote:
> >
> > There's an amusing defence against that: 'touch /--version'. Then 'rm
> > -rf *' in / expands to 'rm -rf <stuff> --version <more stuff>', and does
> > nothing except print its version number and copyright information.
>
> Hmm. Along those lines, I guess it's a good idea to watch out for people
> scattering around files called "-rf" :-/
"touch ./-i" should solve this problem ;-)
Jan
Reply to: