indent (Unix)
From Wikipedia, the free encyclopedia
(Redirected from Indent (unix))
| Original author(s) | David Ingamells, Carlo Wood, Joseph Arceneaux, Jim Kingdon, John Bridges |
|---|---|
| Developer(s) | FSF |
| Stable release | 2.2.10 / March 11, 2008 |
| Development status | Inactive? |
| Written in | C |
| Operating system | Cross-platform |
| Type | source code reformat tool |
| License | GNU GPL v3 |
| Website | http://www.gnu.org/software/indent/ |
indent is a Unix utility that reformats C and C++ code in a user-defined indent style and coding style. Support for C++ code is considered experimental.
Contents |
[edit] Examples of usage
The command line
indent -st -bap -bli0 -i4 -l79 -ncs -npcs -npsl -fca -lc79 -fc1 -ts4 SomeFile.c
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] GUI
[edit] See also
[edit] External links
- GNU indent Homepage
- Linuxmanpages.com The program's manpage
|
|||||||||||||||||||
| This Unix-related article is a stub. You can help Wikipedia by expanding it. |