David Landgren <[EMAIL PROTECTED]> wrote: > Oliver Fromme wrote: > > I would suggest trying this simple hack: > > > > cd /var/spool/directory ; cat . | strings | xargs rm -f > > > > It's a dirty hack, but might work, if the file names in > > that directory aren't too strange (no spaces etc.). > > why suggest a dirty hack that might not work, when the proposed Perl > script would have worked perfectly?
In this case, the hack _should_ work, and is about 1/10 of the size of the perl script and leaves a lot less room for typing errors. Aport from that, perl might not even be installed on the machine in question, who knows. But of course: YMMV. It was just a suggestion. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "I made up the term 'object-oriented', and I can tell you I didn't have C++ in mind." -- Alan Kay, OOPSLA '97 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"