[oclug] Perl golf: 10 day file problem (was Re: [linux-novice] Re: Help with my self-imposed home work)

Adrian Irving-Beer wisq-oclug at wisq.net
Tue Mar 1 16:08:31 EST 2005


On Tue, Mar 01, 2005 at 03:14:00PM -0500, Adrian Irving-Beer wrote:

> >    perl -le '-d||-M>10/24||print$_ for at ARGV' *
> 
> Wow, nice.  I also didn't  know about -M, although you mean -M>10
> since it's in days. 

Doh, this used to be the 10 *hour* file problem.  I got mixed up. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20050301/afade4b2/attachment.bin


More information about the OCLUG mailing list