Home | History | Annotate | Download | only in psb_video
      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     sed -i 's/[ \t]*$//' $i #remove trailing space
      8 done
      9 
     10 
     11 
     12