Click to See Complete Forum and Search --> : program code tidy up


pocs
12-16-2004, 03:05 AM
Hi all,

I am currently handle the previous project from others,
I would like to know whether there is any shell command or program which can indent the program properly.
I remeber i have one freind who set the shell command for me, but i lost it after reformat.
currently the program is written in C++, and perl and it is really unreadable. If anyone can help, i would realy appreciate.

pocs

truls
12-16-2004, 07:57 AM
There is a command called, suprisingly, indent.
I know it works for C code, not sure if it handles C++ and perl.

lagitus
12-16-2004, 11:27 AM
Here (http://www.gentoo-portage.com/s?search=indent) are some more.