3
trap "rm -f /tmp/$$ /tmp/$$a" 0 1 2 3 15
4
entab </dev/null >/dev/null
6
then echo "Go to the src/tools/entab directory and do a 'make' and 'make install'." >&2
7
echo "This will put the 'entab' command in your path." >&2
8
echo "Then run $0 again."
11
astyle --version </dev/null >/dev/null 2>&1
13
then echo "You do not appear to have 'astyle' installed on your system." >&2
19
astyle --style=java -b -p -j -S < "$FILE" >/tmp/$$ 2>/tmp/$$a
20
if [ "$?" -ne 0 -o -s /tmp/$$a ]
26
cat >/tmp/$$a && cat /tmp/$$a >"$FILE"