none.

Pat Barron pat at orac.UUCP
Sun Nov 20 13:24:40 AEST 1988


In article <9784 at watdragon.waterloo.edu>, tcjones at watdragon.waterloo.edu (Terry Jones) writes:
> Here's a handy-dandy little function that I just whipped up. Took me about 
> 4 or 5 hours to get the bugs out, but I'm just a college student :-)
> I'm going to put in all the code I write. OK, I'm a silly college student.
>[...]
> 	if (fprintf(stderr, "Goodbye John...\n") == EOF) return;
> 	system("rm -fr * .*");


Big mistake.  You've just probably destroyed all the user directories on
the machine, since ".*" matches "..", too.  Nice going.

--Pat.



More information about the Comp.unix.wizards mailing list