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