I'm using Ubuntu 12.04. I do not have any root or sudo privileges as this is a company machine.
Is there, in a normal installation of Ubuntu 12.04, any terminal program that I can use to turn ugly malformed source code that lacks any indentation into nice looking code?
Again, I can't install any packages so I need one that already comes with Ubuntu, if such a thing exists.
For example:
int main()
{
test(1);
another_function(1);
}
And then convert it to:
int main()
{
test(1);
another_function(1);
}