MLUG: Re: [MLUG] String manipulation in C
Re: [MLUG] String manipulation in C
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The matches will need to be put in a MATLAB data frame first and then a
MySQL database later. Outputting data in columns would work as I could
read the columns in later to make the data frame. 

I know that grep will find the expression as many times as it appears in
the string searched. But I need it to find how many characters the start
of the match is from the start of the string. The best that I see can
come from grep is number of letters that the first character in the line
the match is in is from the start (the byte offset.) But I need the
actual distance from start -> match. 


Jack




On Sun, 2007-07-01 at 22:44 -0500, Mark Rages wrote:
> On 7/1/07, Jack Smith <EMAIL:PROTECTED> wrote:
> > The strings are quite long, and there are a *bunch* of them. My pattern
> > strings to be matched are short- 5 to about 50 letters, but the strings
> > I'm matching them to are about 1000 letters long. There are ~600,000 of
> > the short strings and 29,000 of the long ones.
> 
> What do you do with the matches once you find them?  You may be able
> to use standard Unix utilities to do what you want.
> 
> Regards,
> Mark
> EMAIL:PROTECTED


_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members