Thanks again, travs69. Your script's output is what I needed, but I want the various files that contains the data (ie, admin, replicated, etc.) to be extracted by the script itself. How can I include that in your script?
Here is a sample of 2 of several files:
file1:
admin 28224
config...
Thanks, travs69.
I think this will work, but *how* do I get all the data (from all the files) into "@mydata" (array)?? That was one of my initial issues for this task.
Thanks again!
KBS
Hello,
I have several text files containing identical information, and want to extract values from a certain field. Each of these values will go to a separate array (or hash) to be later placed in a CSV file.
For example, all "admin" values will go to an array or hash called "array" containing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.