OT: TS.exe ( text find ) utility replacement

Re: OT: TS.exe ( text find ) utility replacement

Postby Rick Lipkin » Fri Jul 31, 2015 12:11 pm

Robb, Carlos Paco

Robb .. I downloaded your Ts.exe ( remake ) and it looks very promising .. I did notice from time to time it fails to list the filename it is scanning and the line, otherwise a worthy replacement.

Carlos .. thank you for your suggestion .. evaluating your choice as we speak

Paco .. I appreaciate you sharing your program... going to compile it this morning.

Thank you all very much !

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: OT: TS.exe ( text find ) utility replacement

Postby santy » Fri Jul 31, 2015 1:26 pm

Rick try snr utility from Alex Kresin

http://kresin.ru/en/snr.html

or GUI version of this utility Fileagent

http://kresin.ru/en/fileagent.html
xHarbour 1.2.x , Harbour 3.x + Mingw 4.x, BCC 5.82
https://bitbucket.org/aantypenko
https://github.com/aantypenko
User avatar
santy
 
Posts: 9
Joined: Mon Jul 02, 2012 7:35 am
Location: Ukraine, Lviv

Re: OT: TS.exe ( text find ) utility replacement

Postby solving » Fri Jul 31, 2015 2:02 pm

windows grep ?

[url]
http://www.wingrep.com/
[/url]

saluti
solving
 
Posts: 65
Joined: Fri Jun 05, 2009 7:55 am
Location: Sicily ( ct ) - Italy

Re: OT: TS.exe ( text find ) utility replacement

Postby Jeff Barnes » Fri Jul 31, 2015 4:54 pm

Hi Rick,

This one isn't dos based but it might do what you need.
http://www.phisearch.net/

Image
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: OT: TS.exe ( text find ) utility replacement

Postby hua » Mon Aug 03, 2015 2:38 am

I use grep. It comes with BCC
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: OT: TS.exe ( text find ) utility replacement

Postby Antonio Linares » Mon Aug 03, 2015 9:50 am

Total Commander built in search feature

I always use Total Commander as my file manager :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: OT: TS.exe ( text find ) utility replacement

Postby Carlos Mora » Thu Aug 06, 2015 6:55 am

hua wrote:I use grep. It comes with BCC

+1.
If you are using BCC, grep is a good option. And it is also available in Unix type OSs, like Linux and OSX.
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 989
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: OT: TS.exe ( text find ) utility replacement

Postby James Bott » Fri Aug 07, 2015 4:21 pm

Rick,

I was not aware of the FINDSTR DOS command until someone posted it in this thread. I have been trying it out and it looks like it may be very close to your old TS.EXE.

I posted some examples of using it to search source code below. I have all that code in a batch file which exports the results into several TXT files.

James

------------------------------------------
The DOS program Findstr is great at locating strings in your source code. Here are some examples.

rem Find all occurrences in all source files in current directory
rem and ignore case and include line numbers
findstr /n/i/C:"index on" *.prg >indexon.txt
findstr /n/i/C:"set index to" *.prg >setindex.txt
findstr /n/i/c:":addindex" *.prg >addindex.txt
findstr /n/i/c:"=Tdata():new(,\"clients\"" *.prg >clients.txt

In the last example note that we are looking for a string containing quotes so we have to use the "escape" character, the backslash \, right before the quote marks we want in the search string. So we are actually searching for:

=TData():new(,"clients"

See this link for more info on escape syntax:
http://ss64.com/nt/findstr-escapes.html
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: OT: TS.exe ( text find ) utility replacement

Postby cuatecatl82 » Thu Mar 31, 2016 8:47 pm

Greetings all:

I have reviewed the code because I needed for a project and I have made ​​some based on the original code changes, hope I can serve them ..

Image
Image

http://www.mediafire.com/download/danbo17b2a82fvg/Busqueda.rar

Many Tanks Paco Garcia...
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
cuatecatl82
 
Posts: 625
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México

Re: OT: TS.exe ( text find ) utility replacement

Postby cuatecatl82 » Fri Apr 01, 2016 1:50 am

http://www.mediafire.com/download/g2eisds6lcq5f1e/FileSearch.rar

New revision , corrected the error by double clicking on the search line , showed the data to locate the result.

In my case in my Editor by double clicking on the highlighted line opens the file oEditor:Abrir(cFile) and positioned the row indicated oEditor:GoTo(nLine)

Image

Greetings..
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
cuatecatl82
 
Posts: 625
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 63 guests