Remove unwanted lines,dead code from source code?
        Posted  
        
            by Passionate programmer
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Passionate programmer
        
        
        
        Published on 2010-04-14T10:28:04Z
        Indexed on 
            2010/04/14
            10:33 UTC
        
        
        Read the original article
        Hit count: 441
        
How to make source code free of the following
- Remove dead codes that are more than few lines between /* c++ codes */
- Change more than one line breaks to one
- Remove modified user name and date /*-------- MODIFICATION DONE by xyz on ------------*/
I have used a code formatter tool to get a nice formatted code but stuck with code with above items.Is there any way to make sure codes like above doesn't get in to svn and automatically formatted code gets into the source.
© Stack Overflow or respective owner