3 # Replace TABs with sequences of 8 spaces in all given files.
11 sed 's/\t/ /g' > $_file && \
17 # Replaces lines containing only spaces with empty lines in all given files.
25 sed 's/^ [ ]*$//g' > $_file && \
31 # Strip trailing white space from all the given files.
39 sed 's/ *$//g' > $_file && \
45 # Clean up TABS and empty lines in all given or found files.
48 strip_empty_lines $* && \
51 files=$(find . -name \*.h -o -name \*.c)
52 replace_tabs $files && \
53 strip_empty_lines $files && \
54 strip_trailing_ws $files