omegaweaponZ has asked for the wisdom of the Perl Monks concerning the following question:
A) Master Directory
AA) Subfolder 1
1) Sub Folder A
2) Sub Folder B
3) Sub Folder C
BB) Subfolder 2
1) Sub Folder A
2) Sub Folder B
3) Sub Folder C
etc...
I want to compare the lines of all files that end in a given extension (like .txt) in each sub folder A-C for each AA or BB subfolder ONLY. So if AA Subfolder 1 has 4 lines of text in each file per each sub-folder there, it is seperated from BB's subfolder comparision.
Hope that isn't confusing. Again I'm not concerned with grabbing the line numbers, that's easy enough through a count of an array, its breaking up each sub-folder into perhaps a while loop to separate it out that's difficult
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing Values PER Sub-folder
by Kenosis (Priest) on Sep 04, 2012 at 23:26 UTC | |
by omegaweaponZ (Beadle) on Sep 05, 2012 at 00:07 UTC | |
by Kenosis (Priest) on Sep 05, 2012 at 00:21 UTC | |
by omegaweaponZ (Beadle) on Sep 05, 2012 at 00:52 UTC | |
by Kenosis (Priest) on Sep 05, 2012 at 02:12 UTC | |
|