DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: HELP: split up source file into segments automatically....

  1. #1
    Join Date
    Jun 2007
    Posts
    6

    HELP: split up source file into segments automatically....

    This is not really language specific but more of a source code parsing.

    I have a large ASP source file that I like to split up, resulting in separate ASP files, each containing one function and the filename named after that function.

    Does anyone know of a tool/script which does this?

    PS: I am too lazy to learn Perl/AWK/Python to do this, hence why I believe someone has already written a tool/script to do this. Possibly in C++/etc.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,366
    unles its really, really big or you do this a lot, its probably faster to do by hand than write code.

    If you need code, figure out what the start and end of a block looks like and match on that, then write the stuff in between into a file. Should be just a few lines of c++.

Similar Threads

  1. wav file fade in out help
    By jase_dukerider in forum C++
    Replies: 2
    Last Post: 04-14-2005, 07:48 PM
  2. Automatically save text file to client
    By Lenin in forum ASP.NET
    Replies: 3
    Last Post: 10-21-2002, 12:22 PM
  3. Replies: 0
    Last Post: 08-23-2002, 02:58 PM
  4. File uploading / objFile.Write problem
    By Tomer Cagan in forum ASP.NET
    Replies: 1
    Last Post: 07-24-2001, 09:01 AM
  5. Replies: 12
    Last Post: 05-18-2001, 04:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center