3 155056f3 2006-07-23 alex INDENTARGS="-kr -i8 -ts8 -l80 -c3 -cd41 -ss -ncs -psl"
5 155056f3 2006-07-23 alex # check if indent(1) is available
6 155056f3 2006-07-23 alex type indent >/dev/null 2>&1 && INDENT="indent"
7 155056f3 2006-07-23 alex type gnuindent >/dev/null 2>&1 && INDENT="gnuindent"
9 155056f3 2006-07-23 alex if [ -z "$INDENT" ]; then
10 155056f3 2006-07-23 alex echo "Error: GNU \"indent\" not found!"
14 155056f3 2006-07-23 alex $INDENT -v $INDENTARGS $*