By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,372 Members | 1,900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,372 IT Pros & Developers. It's quick & easy.

Match and consolidate on similar files.

P: 1
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.
Sep 26 '08 #1
Share this Question
Share on Google+
1 Reply


KevinADC
Expert 2.5K+
P: 4,059
What have you tried so far? Did you want to group ao0122_*.pdf separately from bp8762_*.pdf and then sort them? Or just group them?
Sep 26 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.