Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I reached my tolerance level using search in windows.
Especially for text strings within files such as UBB files.
I can only assume it does not search text strings within files with double extensions such as config.inc.php.
I have tried changing the indexing settings with little success.

So my question is what is everyone else using?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
I gave up long ago.. I simply search every file when nessessary... Generally I find a file that I want to pull apart, then go to town...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
So Giz your saying that you don't have something you use to find text strings in files?
So it ends up being hit or miss one by one? crazy

Last edited by Ruben; 03/14/2009 5:54 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
Windows text string search has not worked since Win2K. Win2K was the last version that it actually worked in.

I really wish I had that feature again.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I know I have done everything I can think of to index the files but it just does not work anymore.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, i use "find" in notepad/wordpad/nano for searching strings IN files when a file is opened; but for finding a string in a file in general, I don't use anything since windows sucks wink...

With the UBB it's easy; just look at the URL and it tells you what file to edit (see ubb/filename)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I understand, that's what I am doing but. I used to be able to search for a string and it would list all files with that string.
I was thinking somebody is using some type of utility that does the same now.

I guess not?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Guess so smile

My big friends is RegExBuddy.

Basicly a tool to help you create regular expressions. But it also has grep functionality in it.

You can search (and replace) using regular expressions.

http://www.regexbuddy.com

The author also made PowerGrep, a much more powerful grep tool, but it's a lot more expensive. RegExBuddy is real cheap, and a must have if you ever want to play with Regular Expressions.


[Linked Image from siemons.org]
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
i still use ts.exe from Norton Utilities at the DOS prompt.

TS-Text Search, Advanced Edition 4.50, (C) Copr 1987-88, Peter Norton

after 20 years, it has it's limitations, you should understand ... like long file names.


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Okusi Associates
i still use ts.exe from Norton Utilities at the DOS prompt.


smile

I also still use it on occasion smile Though mine says copyright 1994 smile

Same long filename limitations smile But I am slowly but surely moving over to regexbuddy to do my searches.


[Linked Image from siemons.org]
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
Originally Posted by Yarp™
Originally Posted by Okusi Associates
i still use ts.exe from Norton Utilities at the DOS prompt.

Same long filename limitations smile

these new-fangled long file names will never catch on. 8 characters should be enough for anyone.
[Linked Image from jakchat.com]



JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
google desktop works fine, lasts a long time smile

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
I use the default search within Windows. Tell Windows to index the folder where your UBB files are, and make sure to tell it to index PHP files. Once you do that, and the index is built, you'll be able to search for strings inside the files just fine.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Originally Posted by DLWebmaestro
I use the default search within Windows. Tell Windows to index the folder where your UBB files are, and make sure to tell it to index PHP files. Once you do that, and the index is built, you'll be able to search for strings inside the files just fine.
I tried this already. In fact I set it to just index the ubb folder and ran re-index. PHP is in the list but I suspect it is not indexing the files with ###.inc.php Still no success most of the time.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Linux. grep. priceless.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Originally Posted by Rick
Linux. grep. priceless.
Well I found a site for windows grep.
http://www.wingrep.com
First dry run seems to work very well and it has edit features.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
Originally Posted by Ruben
I tried this already. In fact I set it to just index the ubb folder and ran re-index. PHP is in the list but I suspect it is not indexing the files with ###.inc.php Still no success most of the time.
Mine is able to find strings in *.inc.php files. I didn't set anything up special to have it do that, so I don't know what to tell you. I'm using Vista Home Professional SP1. (Came with the new laptop)

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I am using an xp box for ubb stuff and vista ultimate and still can't seem to find some strings in either one of the machines.
I have the options set to index the contents of the files. PHP is selected in file types. I have run re-index to point of I am tired of doing so.

But it looks like this grep for windows works and it has a built in edit and replace feature. So to me that makes it a winner even if windows search was working.

Last edited by Ruben; 03/15/2009 5:57 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
With Windows Grep and RegExBuddy priced simular, be sure to check RegExBuddy too.

I am not a big fan of indexed searches, somehow what I want to find never gets indexed smile They index more on words and stuff, and my searches are most of the time a bit different.


[Linked Image from siemons.org]
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Thanks yarp but for now I think I will shy away from regexbuddy since I don't understand the expression syntax at this time anyway.
It just complicates the options to use at this time. For me anyway.
But for searches it works well also.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Already had a use for grep for windows.
I had a error in the style wrapper editor.
page_wrapper_run error.
Searched using grep and found it in wrapper.inc.php.

Windows did not find it.

Found the file was 0 bytes.
Probably was since upgrading to 7.5

Happy camper. smile


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
I own copies of ALL of these programs and if you want to do Comparisons I highly suggest UltraCompare
If you want to do very complex changes then I'd go with PowerGREP (hi learning curve but very powerful).
UltraEdit also provides Regex operations and is one of the most powerful editors on the market.

UltraEdit / UEStudio / UltraCompare[/color]

[color=green]PowerGREP: Taking grep Beyond The Command Line[/color]

[color=green]RegexBuddy: Learn, Cr...ular Expressions with RegexBuddy



If you have the new MS Windows Search 4.0 installed I recommend you uninstall it. Searches are very limited with it installed now. Indexed data is found fast, but they don't index everything even if you do tell them to.

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Ruben
Thanks yarp but for now I think I will shy away from regexbuddy since I don't understand the expression syntax at this time anyway.


Lucky thing is, you don't need to smile You can just enter plain text and RegExBuddy will make the regex for you.


[Linked Image from siemons.org]
Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
FWIW
I use Agent Ransack
as it recognizes unix-style pattern matching and regular expressions.
Its quick and has a low footprint in use.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (2 invisible), 721 guests, and 156 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)