Indent (Unix) |
indent is a Unix programming tool that reformats C programming language and C plus plus code in a user-defined coding style. Support for C++ code is considered experimental.
=Examples of usage=
The command line
indent somefile.c -st -bad --blank-lines-after-procedures -bli0 -i4 -l79 -ncs -npcs -nut -npsl -fca -lc79 -fc1
indents somefile.c in a style resembling Indent style#BSD/Allman style and writes the result to the standard output.
=GNU indent=
GNU indent is the GNU project s version of indent. A different indent style, the Indent style#GNU style, is used by default.
=External links=
*[http://www.gnu.org/software/indent/ GNU indent Homepage]|
|