heptagon/tools/enforce_style.sh
2010-11-02 11:31:59 +01:00

3 lines
171 B
Bash
Executable file

#!/bin/sh
find . \! -path "*_build*" -and \( -iname "*.ml" -or -iname "*.mli" -or -iname "*.mly" -or -iname "*.mll" \) -exec perl -pi -e 's/( |\t)+$//gi; s/\t/ /g' {} \;