#!/bin/bash # run astyle on all source files for f in `find src -name "*.cpp" -o -name "*.h"`; do astyle --options=./.astylerc $f done;