Cleanup whitespaces in sourcefiles
----------------------------------

                 Key: THRIFT-1017
                 URL: https://issues.apache.org/jira/browse/THRIFT-1017
             Project: Thrift
          Issue Type: Improvement
            Reporter: Anatol Pomozov


A couple of simple sed expressions can cleanup a bunch of TABS/incorrect 
whitespaces in the source files

// Replace TAB with whitespaces in source files
find -type f -name *.c | xargs sed -i 's/\t/  /g'
// We need to cleanup *.h *.cc *.java *.cs files as well

// Remove trailing spaces
find -type f | xargs sed -i 's/ *$//g'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to