4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Jasondavis on February 04, 2003, 09:18:39 PM

Title: main.php file is to large
Post by: Jasondavis on February 04, 2003, 09:18:39 PM
I have a problem...My lang main.php file is over a megabyte! I dont know how this happened but it has like 1000 line spaces between each line of text.  Is there a program I can use that will remove all the blank lines? It would literally take like an hour to delete these manually!  I cant just start over with a new one because literally every line has been edited by me and I have added a lot of lines and i cant even view them in my file now because it is so many lines total lines is 527,000 lines! HELP!
Title: Text editor
Post by: alinford on February 07, 2003, 02:01:15 AM
I would use a text editor like ultraedit.
You can have it search for new lines (have it search for 10 new lines so you do not find normal ones) and replace them with nothing.  It will dlete them all in about 30 seconds.
Title: main.php file is to large
Post by: SLL on February 07, 2003, 08:43:53 PM
get textpad from http://www.textpad.com and additional small macros for this nice text editor here http://www.textpad.com/add-ons/macros.html. you will solve your problem in one minute
Title: main.php file is to large
Post by: Jasondavis on February 07, 2003, 10:31:19 PM
Thanks guys...I ended up searching for
"

" lol blank spaces and replacing with nothing in dreamweaver.  Still took me about an hour though