On 07/31/2014 07:03 PM, jdebert wrote:
[snip]
Sorry to take so long. I found the CD-R it was on and it is no longer readable. So much for "bargain" CD-R's from Fry's.
I thought I had another copy but I haven't found it yet.
IIRC it uses awk, sed and grep to get the file name and parse the first comment block for a description but it expected the description to be in a standard form or style. It would then produce a tab delimited index with one file per line giving the file name, the version, date and a brief description.
Thank you for taking the time to look. That sounds like a simple approach. Just include some doxygen type comment block in the files you want tracked/indexed limited to 'limit' number of lines, and launch some 'find /path -type file -name "*.{blah}" -exec head -n$limit '{}' \; | while IFS=$'delim\n' read line; do <parse as needed> > yourindex; done'. That would create your index that a second simple scripts could grep/awk and format the output as desired. Thanks again. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org