[wp-hackers] concatinating PHP code files

Chris Jean gaarai at gaarai.com
Mon Mar 22 18:48:15 UTC 2010

That would actually make working with the code harder as it would be 
amazingly-large. You need a proper file searching tool.

Personally, I use grep which is available on Linux and Mac systems. 
Using grep allows me to quickly search through hundreds or thousands of 
files quickly and easily. I've blogged on the topic here: 
http://gaarai.com/2009/01/21/grep-why-i-love-linux/. In the post, I even 
talk about using grep to find functions in WordPress code.

There are similar tools for Windows, but as I don't develop on Windows, 
I don't know what to recommend.

Keep in mind that the problem is that you want to search code in 
multiple files, not that you don't have all the code in one file (which 
as you already said, would be very hard to handle).

Chris Jean (AKA gaarai & chrisbliss18)
Coder for http://ithemes.com/

Arlen Beiler wrote:
> The main thing would be that it would make searching easier. However, for
> something like Wordpress, you would have a file so big that only something
> like Microsoft Word or a web browser could handle it.

More information about the wp-hackers mailing list