in reply to Finding a file by age (Newest First)
my ($mask, $position) = @ARGV; print "Your file is: ".(grep {/^$mask/i} `ls -tr`)[$position-1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding a file by age (Newest First)
by Roy Johnson (Monsignor) on Jun 04, 2004 at 18:38 UTC | |
by dave_the_m (Monsignor) on Jun 04, 2004 at 20:03 UTC |