On Wed, Aug 17, 2011 at 06:52:20PM -0700, Randal L. Schwartz wrote: > >>>>> "Jameson" == Jameson Williams <[email protected]> writes: > > Jameson> I haven't been able to get this one yet. > Jameson> Challenge: A one-line statement (pipes okay, but explicit loops not) > Jameson> that empties all found files (as for debugging with /var/log, > Jameson> perse). > > In a single directory? > > "rm *". > > What's hard with that?
That's not: michael@bivy:~/tme$ ls -l total 0 -rw-r--r-- 1 michael michael 0 2011-08-17 20:14 a -rw-r--r-- 1 michael michael 0 2011-08-17 20:14 b -rw-r--r-- 1 michael michael 0 2011-08-17 20:14 c -rw-r--r-- 1 michael michael 0 2011-08-17 20:14 d -rw-r--r-- 1 michael michael 0 2011-08-17 20:14 e michael@bivy:~/tme$ that's michael@bivy:~/tme$ ls -l total 0 michael@bivy:~/tme$ > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > <[email protected]> <URL:http://www.stonehenge.com/merlyn/> > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.posterous.com/ for Smalltalk discussion > > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > -- Michael Rasmussen, Portland Oregon Other Adventures: http://www.jamhome.us/ or http://westy.saunter.us/ Fortune Cookie Fortune du jour: Dogs kill more humans than any animal except for other humans. ~ Bruce Schneier _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
