How are thing progressing for you? When you start running your application on the real material it is important that you do write a log file for your application that states a few facts about the progress.
You can have a few files that log specific items. Write out the name of the file you are about to work on and state when it finishes ok or not and if not write in an error log. Always put on a time stamp for each. You can use wdstatus which will show you what is going on in a popup. If you come across anomalies in the file or your process it is important to have those logs to debug faster. If everything is fine you can always look at the logs or the wdstatus and know it is moving and not just hanging. 2011/11/4 Skip Cave <[email protected]> > I have several thousand files which are distributed into about a thousand > folders. All of the folders are contained in one directory on my machine. > Each of the thousand folders contains 1-10 files. All of the files in each > folder have been compressed using the gzip program. I need to sequence > through all of the folders, find the file in each folder labeled "LOG" > (there will be only one in each folder, with no extension), and expand it. > I then need to examine the expanded LOG file (ASCII text file) and search > the LOG file for a specific unique text string that will be the same in all > the LOG files. I need to extract the string of a few hundred characters > that *follows* the initial matched string in the LOG file. That second > string will be terminated by another (different & third) unique text string > which will also be the same in all LOG files. I want to place all of the > extracted strings into a single boxed array using a single J function. > > How hard is it to do this in J? Can someone give me a start in the right > direction, perhaps with some example code? I currently only have J 6.02 on > my machine. > > -- > Skip Cave > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: [email protected] gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
