Re: Directory name problem...

Greg Mildenhall (greg@networx.net.au)
Mon, 26 Oct 1998 15:11:35 +0800 (WST)


On Sun, 25 Oct 1998, Mark Jefferys wrote:
> On Sun, Oct 25, 1998 at 05:00:25PM +0000, Riley Williams wrote:
> % Q> #!/bin/sh
> % Q> XYZZY="`find / -name core`"
> % Q> for LOOP in `find $XYZZY | sort -ru` ; do
> % Q> rm -fr $LOOP
> % Q> done
> mkdir -p "evil /how/did/this/get/deleted/I/needed/that /core"

well, perhaps just:
mkdir -p "innocent /usr/local/sbin/offending-script /core"
The problem is it's own solution :) (providing you like selfmodifying
code :)

-Greg Mildenhall

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/