Skip to content

Commit

Permalink
[misc] Whitespace fixing script
Browse files Browse the repository at this point in the history
Uses sed. Apply liberally.
  • Loading branch information
s5z committed Dec 10, 2014
1 parent 99f8a05 commit a8d1a0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc/fix_whitespace.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
sed -i 's/[ \t]*$//' $@ # kill all trailing whitespace
sed -i 's/\t/ /' $@ # turn each tab into 4 spaces

0 comments on commit a8d1a0b

Please sign in to comment.