1 #!/bin/bash 2 file=$(find . -name "*.[ch]" -o -name "*.cpp") 3 for i in $file 4 do 5 echo $i 6 astyle --style=linux -s4 -c -s -p -U -H -n $i 7 done 8 9 10 11