Indent (Unix)
From Wikipedia, the free encyclopedia
- The correct title of this article is indent. The initial letter is shown capitalized due to technical restrictions.
indent is a Unix utility that reformats C and C++ code in a user-defined coding style. Support for C++ code is considered experimental.
[edit] 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 BSD/Allman style and writes the result to the standard output.
[edit] GNU indent
GNU indent is the GNU Project's version of indent. A different indent style, the GNU style, is used by default.
[edit] External links
- GNU indent Homepage
- [1] The program's manpage
History: GNU Manifesto • GNU Project • Free Software Foundation (FSF)
GNU licenses: GNU General Public License (GPL) • GNU Lesser General Public License (LGPL) • GNU Free Documentation License (FDL)
Software: GNU operating system • bash • GNU Compiler Collection • GNU Emacs • Ghostscript • other GNU packages and programs
Advocates and activists: Richard Stallman (RMS) • Robert J. Chassell • Prof. Masayuki Ida • Geoffery Knauth • Lawrence Lessig • Eben Moglen • Henri Poole • Peter Salus • Gerald Sussman • FSF's Past Directors • others
Software developers: Richard Stallman (RMS) • Jim Blandy • Ulrich Drepper • Brian Fox • Tom Lord • Roland McGrath • other programmers
Software documentors: Richard Stallman (RMS) • Robert J. Chassell • Roland McGrath • other documentors