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