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...