tags:

views:

49

answers:

1

Possible Duplicate:
Best C++ Code Formatter/Beautifier

is there a simple command-line command in linux to justify C++ code? I could use an editor, maybe, but I would rather just have some command that spits out indented justified code.

+5  A: 

You might find astyle will meet your needs. It's extremely flexible.

greyfade