help with grep

May 19, 2009 at 11:10:57
Specs: Macintosh
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?


See More: help with grep

Report •

May 19, 2009 at 18:19:41
what have you tried so far

Report •
Related Solutions

Ask Question