Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert all tabs to spaces #7

Closed
Wallacoloo opened this issue Sep 24, 2014 · 2 comments
Closed

Convert all tabs to spaces #7

Wallacoloo opened this issue Sep 24, 2014 · 2 comments

Comments

@Wallacoloo
Copy link
Owner

Much of the code is mixed tabs & spaces. With the exception of the Makefile, all tabs should be converted to spaces (width=4).

@Wallacoloo
Copy link
Owner Author

The linux 'expand' command can turn tabs to spaces correctly. Eg expand -t 4 file > file2. To expand all files in a directory (recursively), inplace, use the following command: find . -name '*.cpp' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;

Source: http://stackoverflow.com/a/11094620/216292

@Wallacoloo
Copy link
Owner Author

Fixed in devel

Wallacoloo pushed a commit that referenced this issue Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant