Author Topic: main.php file is to large  (Read 5163 times)

0 Members and 1 Guest are viewing this topic.

Offline Jasondavis

  • Full Member
  • ***
  • Posts: 157
    • View Profile
main.php file is to large
« 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!

alinford

  • Guest
Text editor
« Reply #1 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.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
main.php file is to large
« Reply #2 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

Offline Jasondavis

  • Full Member
  • ***
  • Posts: 157
    • View Profile
main.php file is to large
« Reply #3 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