Quoth Jacob Meuser, on Tue, 3 May 2005 22:56:30 -0700:
> #!/bin/sh
>
> set -e
>
> : ${CPMV:=mv}
>
> FILE="`pwd`/$1"
>
> cp ${FILE} ${FILE}.orig
>
> sed -e 's,// *\(.*\),/* \1 */,g' ${FILE} > ${FILE}.sed
> ${CPMV} ${FILE}.sed ${FILE}
>
> indent ${FILE} ${FILE}.indent -di8 -dj0 -nfc1 -i4
> ${CPMV} ${FILE}.indent ${FILE}
>
> exit 0
Whoa. This code frightens me. What does
> : ${CPMV:=mv}
mean? Also, indent appears to be geared for C specifically, and I'm
looking for something more general. lint is not on my system, and I
don't know which package contains it. And (un)expand is good to know
about but not what I need.
Thanks,
--Jason
--
Death to all fanatics!
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug