heptagon/tools/enforce_style.sh

3 lines
171 B
Bash
Raw Normal View History

2010-06-30 15:36:07 +02:00
#!/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' {} \;