InvestorsHub Logo
Post# of 682
Next 10
Followers 41
Posts 12875
Boards Moderated 22
Alias Born 04/16/2001

Re: Dimension post# 671

Monday, 08/28/2006 3:59:59 PM

Monday, August 28, 2006 3:59:59 PM

Post# of 682
sarals & Dimension,

Many years ago I did a little C programming, and whenever I searched into the .C file using FINDSTR
or while inside the utility that came with the development kit, I remember that as expected only
the line(s) with the search term(s) were displayed.

Since I did a lot of Newlines and Tabs to make the sources easy to read I never got enough information
on what that line of code actually did, as in what the just prior lines of code did to initialize etc variables.

I figured that if a few lines that just preceded the line with the search strings were also displayed,
that that would help locate what I was looking for when lots of search hits were found.

Do either of you two see how this could help do your coding?

Even if you could have the option in the search to also be able to decide how many lines, 0 - 9,
and be able to decide if they are the prior line, or after lines, or both?

Its been too long since I used an Unix grep to remember what it could do, but it was very powerful,
and it did hurt my brain a little to figure it out :)

Just wondering about this since I remember a few years ago Matt had to look at IH's code
to check a zillion places for Bob's Oops :o) and if Matt has this type of search utility,
and a text file of the code, it could have been done quicker.

doug

Lactose Free Milkman

Join InvestorsHub

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.