2012-10-29 19:59:19 +00:00
|
|
|
#!/bin/sh
|
2012-11-20 19:11:01 +00:00
|
|
|
f=`basename $1`
|
2012-10-29 19:59:19 +00:00
|
|
|
mkdir /tmp/$$
|
|
|
|
cp $1 /tmp/$$/
|
2012-11-20 19:11:01 +00:00
|
|
|
cp $1 /tmp/$$/$f.orig
|
2012-10-29 19:59:19 +00:00
|
|
|
export INDENT_PROFILE=`dirname $0`/indent.pro
|
2012-11-20 19:11:01 +00:00
|
|
|
indent /tmp/$$/$f
|
|
|
|
diff /tmp/$$/$f.orig /tmp/$$/$f
|
2012-10-29 19:59:19 +00:00
|
|
|
rm -rf /tmp/$$
|