2009-12-22 15:06:10 -05:00
|
|
|
#!/bin/sh
|
2007-03-29 20:15:25 -04:00
|
|
|
echo -n "-brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l155 -cs -T size_t " > ./.indent.pro
|
2010-06-23 14:22:52 -04:00
|
|
|
|
|
|
|
for i in `find src/ -name \*.c` ; do cat $i | perl -ne 'print "-T $1 " if (/([0-9A-Za-z_-]+_t)/)' ; done | sort | uniq >> ./.indent.pro
|
|
|
|
for i in `find src/ -name \*.h` ; do cat $i | perl -ne 'print "-T $1 " if (/([0-9A-Za-z_-]+_t)/)' ; done | sort | uniq >> ./.indent.pro
|
|
|
|
|
|
|
|
|