Greetings, everyone:
I am working on a script that needs to sort some file that are similar as follows:
ao0122_1.pdf bp8762_1.pdf cx0123_1.pdf du0001_1.pdf
ao0122_2.pdf bp8762_2.pdf cx0123_2.pdf
ao0122_3.pdf bp8762_3.pdf
bp8762_4.pdf
bp8762_5.pdf
And, so on. I couldn't recall an algorithm that would allow me to indenpendently group all ao0122_*.pdf separately from bp8762_*.pdf, and so on. Any help would be appriecated.
|