code_format.sh
#!/bin/sh CNT=0 OBJ_FILES=`find $1 -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.cc'` for file in $OBJ_FILES; do echo $file indent -npro -gnu -i4 -ts4 -sob -l200 -ss -bl -bli 0 -npsl $file done
code_format.sh
#!/bin/sh CNT=0 OBJ_FILES=`find $1 -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.cc'` for file in $OBJ_FILES; do echo $file indent -npro -gnu -i4 -ts4 -sob -l200 -ss -bl -bli 0 -npsl $file done