[9625] in Athena Bugs
decmips 7.4G: indent
daemon@ATHENA.MIT.EDU (apk@Athena.MIT.EDU)
Wed Jul 15 11:21:56 1992
From: apk@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Wed, 15 Jul 92 11:21:43 EDT
System name: w20-575-64
Type and version: KN02ca 7.4G
Display type: PMAG-DV
What were you trying to do?
use command line switches with indent to format c code
use .indent.pro switches to do same w/o command line stuff
What's wrong:
~/.indent.pro seems to be ignored entirely
using more than 2 commandlines switches (explicitly now,
on the commandline, w/ the .indent.pro file gone)
causes indent to bomb
What should have happened:
I should have been able to say indent -i2 -nbc -v vanilla.c
and then it would have indented as I wanted. What did happen:
w/ .indent.pro and no commandline stuff, indent ignored .indent.pro
and did its usual ugly defaults.
w/ the command line stuff, it would crash if I used 3 or more
switches. yuck. yuck. yuck.
Please describe any relevant documentation references:
simply used the man page on this machine