You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/01/27 00:36:47 UTC

[jira] Commented: (THRIFT-1017) Cleanup whitespaces in sourcefiles

    [ https://issues.apache.org/jira/browse/THRIFT-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987294#action_12987294 ] 

Bryan Duxbury commented on THRIFT-1017:
---------------------------------------

I think I'd accept a patch for the necessary changes, if you wanted to run your necessary scripts locally.

> 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.