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
OT: TS.exe ( text find ) utility replacement
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: OT: TS.exe ( text find ) utility replacement
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
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
https://bitbucket.org/aantypenko
https://github.com/aantypenko
- Jeff Barnes
- Posts: 912
- Joined: Sun Oct 09, 2005 1:05 pm
- Location: Ontario, Canada
- Contact:
Re: OT: TS.exe ( text find ) utility replacement
Thanks,
Jeff Barnes
(FWH 12.01, xHarbour 1.2.1, Bcc582)
Jeff Barnes
(FWH 12.01, xHarbour 1.2.1, Bcc582)
Re: OT: TS.exe ( text find ) utility replacement
I use grep. It comes with BCC
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: OT: TS.exe ( text find ) utility replacement
Total Commander built in search feature
I always use Total Commander as my file manager
I always use Total Commander as my file manager
-
- Posts: 988
- Joined: Thu Nov 24, 2005 3:01 pm
- Location: Madrid, España
Re: OT: TS.exe ( text find ) utility replacement
+1.hua wrote:I use grep. It comes with BCC
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
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: OT: TS.exe ( text find ) utility replacement
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
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
- cuatecatl82
- Posts: 614
- Joined: Wed Mar 14, 2007 6:49 pm
- Location: San Cristobal de las Casas, Chiapas México
- Contact:
Re: OT: TS.exe ( text find ) utility replacement
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 ..
http://www.mediafire.com/download/danbo ... squeda.rar
Many Tanks Paco Garcia...
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 ..
http://www.mediafire.com/download/danbo ... squeda.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
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
- cuatecatl82
- Posts: 614
- Joined: Wed Mar 14, 2007 6:49 pm
- Location: San Cristobal de las Casas, Chiapas México
- Contact:
Re: OT: TS.exe ( text find ) utility replacement
http://www.mediafire.com/download/g2eis ... Search.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)
Greetings..
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)
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
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