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] Updated: (THRIFT-1017) Cleanup whitespaces in sourcefiles

     [ https://issues.apache.org/jira/browse/THRIFT-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury updated THRIFT-1017:
----------------------------------

    Priority: Trivial  (was: Major)

> Cleanup whitespaces in sourcefiles
> ----------------------------------
>
>                 Key: THRIFT-1017
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1017
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: Anatol Pomozov
>            Priority: Trivial
>
> 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.