On Jan 19, 2008 4:03 PM, Rod <[EMAIL PROTECTED]> wrote:

> Given (a) a file and (b) a list of keywords, how do I get a list
> of column positions of the keywords in the file? Each keywd may occur
> in any line, no order implied, multiple times, multiple keywords on a line
> (including up to, and including, none of them).

Since you talk about keywords, any chance you can break up the lines
into words? If necessary by xlate of all non-word characters into
blanks first. Once you have that, you would just need to keep track of
which fragment is from which line, and add up the length again.

Rob

Reply via email to