|I have a list of folders (folder_1, folder_2, folder_3, ...) |
and each of these folders has a folder (output) that
contains a list of files (file_1.out, file 2.out , file 3.out , etc.). I need
to obtain certain measures from each of these files
(measure A, measure B, etc.). I would like to save the
all the results in the following format
folder_1, file 1, measure A
folder_1, file 2, measure A
folder 2, file 1, measure A
I would like to use grep to recursively extract those
measures from each of the folders, but I'm having
trouble printing the folder's name, and file's name.
Can someone help me?