I was considering using grep to add a regular-expression find to my Cocoa script editor (for obvious "why write it if a free version already exists" reasons). But, grep seems to only be capable of giving me the byte offsets of lines the containing a match, and the line itself.
Is there a way to force it to output where the matches actually are on the line?
How about using awk?
Or another program?