|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Detect file sequences in File:Find resultsby aes1972 (Initiate) |
| on Jan 21, 2013 at 00:09 UTC ( #1014360=perlquestion: print w/ replies, xml ) | Need Help?? |
|
aes1972 has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am currently getting a list of files from a directory hiearchy with this script which works great (user name and full name get appended at end of file path):
The thing is that most of the files are file sequences like this:
So I would love to be able to filter the results to only get one entry per sequence like this:
Please note that the sequences dont have padded numbers but I am already solving that with the map and sort above so now I just need to only print the unique sequences. Actually since I am getting the full path and also attaching the user the output should ultimately look like this:
Thanks.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||