To: Karl Zetmeir who wrote (13694 ) 11/4/2001 1:50:27 AM From: d:oug Read Replies (2) | Respond to of 14226 (off topic) Stop the Music & Hold the Presses & Ring the Bell Karl, Either you is another Zeev Hed World Class Scientist, or you had a dream that was intended for a Zeev type with that big lightbulb popping On Bright, and upon aWaking you hurried wrote down the break-through idea. As Chuca would say, Location Location Location and knowing what he himself meant, Chuca also said, New Tech New Tech New Tech and wellllllllllllll, and then it was Colors, then Nanos, and then Kitchen Sink(s) but my point, is your "snake oil" 4Real or are you doing a semi-Chuca of which you may not know if you don't know Chuca, but a semi 4Attention type wording(s) :o) ok, but do we have to call/invite Zeev over here to hear about this as i'm sure almost every day another LightBulb clicks On but usually only those with the bulb inside their heads see it :o) ok, please tell this thread more and yes, lets OT all this since this thread has "not nice" threaders here and they have objected to off stuff so, just a few is now ok and no if(s) & butt(s) this sounds interesting but not the reason why official government responce is nill as thats understood to be hitting head against wall as in, it hurts, oops, "and no if(s) & butt(s)" now i remember, Chuca also did a "its butts butts butts" with, never did undestand that one ok, and now my dougak "invention" and no, it is smaller than the smallest v. yours(if really 4Real) Long ago i did a buy of Microsofts SDK for Windows 3.1 and needed a better search for strings in text files program, so i made one in C. If your latest and greatest Microsoft os supports a DOS 5 executable file, then i could e-mail it to you if you found it to be useful. I never did plug it into a Windows program, but will someday, but i'm sure those 16 bit i made will not run on the 32 platform, but the search program itself might run under whatever Windows NT or 95,97,2001etc allow you to interact with what looks like a DOS prompt. Ya, i'm still Windows 3.1 on my 33 megahertz processor. Also, in case you run a Unix i setup the building so that switches in the building will instruct my source code to choose different names for libraries (and yikes its been a long time since i did this and forget if Unix uses Includes files like like golly its like i'm gonna need to look at the stuff i did to remember what i knew), so that i have only one version of source code for MS or Unix. Guess i'm getting ahead of myself here. Anyway the "what is this." named program fit for findit ---------------------------------------------------------------------------- Purpose Search a file for one or more patterns. Display the lines that occur just prior and just after each line containing a pattern. Help fit help Example fit example ---------------------------------------------------------------------------- Usage fit pattern filename integer[e,l] [on,*] [off] fit -1 filename integer[e,l] [on,*] [off] fit -1 filename fit pattern filename not integer Represents the number of earlier and later lines to display. These are the lines that occur just prior and just after each of the lines containing the pattern. Range for integer is 0 thru 9. [e,l] e Only display earlier lines. l Only display later lines. [on,*] on Prefix lines containing pattern with their file line number. * Prefix lines containing pattern with the * character. [off] Do not seperate breaks in output with a dashed line. -1 Be prompted for one or more patterns. not Display only lines not containing the pattern. All valid combinations of [e,l] [on,*] [off] are allowed. 4/13/98 dk ---------------------------------------------------------------------------- fit alien xfile 7 7 earlier and 7 later fit alien xfile 7e 7 earlier fit alien xfile 7l 7 later fit alien xfile 7 on prefix with line number fit alien xfile 7 * prefix with * character fit alien xfile 7 off no show breaks fit alien xfile 0 off only lines containing pattern fit alien xfile not only lines not containing pattern ---------------------------------------------------------------------------- fit -1 eatfile 7 >cookies The user will be prompted for patterns. >candy Terminate each pattern with a newline. >ice cream Do not bracket patterns with quotation marks. >-end- When all patterns are entered, enter -end-. ---------------------------------------------------------------------------- fit -1 eatfile >pepperoni pizza The complete file will be displayed. >double anchovies All lines containing pattern will be prefixed >-end- with the * character. ----------------------------------------------------------------------------