Blob
1 #/bin/sh3 INDENTARGS="-kr -i8 -ts8 -l80 -c3 -cd41 -ss -ncs -psl"5 # check if indent(1) is available6 type indent >/dev/null 2>&1 && INDENT="indent"7 type gnuindent >/dev/null 2>&1 && INDENT="gnuindent"9 if [ -z "$INDENT" ]; then10 echo "Error: GNU \"indent\" not found!"11 exit 112 fi14 $INDENT -v $INDENTARGS $*16 # -eof-