Can GNU indent be made to format a while (or for, ...) statement to a single line?
My indent (GNU indent 2.2.11) outputs this
while (a == b)
b++;
I'd like it to output one single line instead. I tried a lot of the options but haven't been able to come up with the right combination (it it's at all possible) yet.
while (a == b) b++;
for (i = 0; i < 100; i++) arr[i] = i;