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 all admin values from various files.
file:
What's the best way to do this?
Thanks,
KBS
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 all admin values from various files.
file:
Code:
admin 28224
config 185920
jobs 3654972619793
replicated 691299178547
What's the best way to do this?
Thanks,
KBS