Hello,
with indent 2.2.9 (and probably previous versions as well) trailing blank
lines in a file are not printed when using the -nsob option (don't swallow
optional blank lines). I personally want those lines there, and if I read the
intention of the -nsob option correctly they should be there.
example (using indent --ignore-profile -nsob):
input:
----------------------
int main () {
}
-----------------------
output:
-----------------------
int
main ()
{
}
-----------------------
Attached is a patch which will output the trailing blank lines when -nsob is
used.
Regards,
Gertjan Halkes
_______________________________________________
Bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent