The LOG file in each folder is actually LOG.gz, which has been compressed
with the open source, patent-free gzip program (http://www.gzip.org). The
file, when expanded, produces a file named LOG with no extension. Once
expanded, the LOG file is just a plain ASCII text file.

My first issue will be to discover if there is any utility in the J
libraries that will expand this .gz file to is native form on a Windows
machine.

Ric Sherlock has shown us code that will find the LOG.gz file in each
directory. I will be trying that out later tonight.
 ; (<empty'') -.~ (1 dir ,&'/LOG') each dirpath 'jsource'
I will need to figure out what libraries to load in J to get the "empty",,
"each" and "dir" verbs, so I can try this out.

Once I figure out how to find and open the files, I will need string
searching utilities to extract the text string I need.

Can this be done in a non-iterating, array style in J, or will I need
control loops to iterate through all the files?

Skip
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to