CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [KevinR] extract data...: Edit Log



AWHF
Novice

Jul 2, 2007, 5:11 PM


Views: 3183
Re: [KevinR] extract data...

DIR_A
1) Go in to DIR_A
2) Sort files to make all the files between ".doc", "_fast.txt" and "_slow.txt" the same. (e.g: file1.doc = file1_fast.txt = file1_slow.txt)
3) Open the files one by one
4) Extract info
5) Sort the info
6) compare
7) Print out the result (different & same)

DIR_A -> open DIR_A -> sort files -> open the same name file -> extract info -> sort info -> compare -> print result

DIR_B
1) Go in to DIR_B
2) choose the same type of file (e.g: _fast.txt and _slow.txt)
3) Sort files to make all the files between ".doc", "_fast.txt" and "_slow.txt" the same. (e.g: file1.doc = file1_fast.txt = file1_slow.txt)
3) Open the files one by one
4) Extract info
5) Sort the info
6) compare
7) Print out the result (different & same)

DIR_B -> open DIR_B -> choose type of file -> sort files -> open the same name file -> extract info -> sort info -> compare -> print result



Is my concept of the whole script correct?


(This post was edited by AWHF on Jul 2, 2007, 7:27 PM)


Edit Log:
Post edited by AWHF (Novice) on Jul 2, 2007, 7:27 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives