Indent (Unix)

Indent (Unix)

indent is a Unix utility that reformats C and C++ 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 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 GNU style, is used by default.

External links

* [http://www.gnu.org/software/indent/ GNU indent Homepage]
* [http://www.linuxmanpages.com/man1/indent.1.php] The program's manpage


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Indent — has several meanings: * In computing, indent is a computer program that formats C programming language files with a particular indent style. See indent (Unix). * An indent can be an addition to a legal contract * Indent is a genus of moths whose… …   Wikipedia

  • indent — Développeur Projet GNU Dernière version …   Wikipédia en Français

  • Indent — Développeur Projet GNU Dernière version …   Wikipédia en Français

  • Indent style — In computer programming, an indent style is a convention governing the indentation of blocks of code to convey the program s structure. This article largely addresses the C programming language and its descendants, but can be (and frequently is)… …   Wikipedia

  • Indent Style — Als Einrückungsstil (engl. indent style) wird die Art und Weise bezeichnet, Quelltext von Programmen zwecks Lesbarkeit einzurücken und umschließende Syntax Elemente wie geschweifte Klammern {} zu positionieren. Als alternativer Name ist daher… …   Deutsch Wikipedia

  • Eric Allman — Infobox Person name=Eric Paul Allman birth date=1955 occupation=Programmer known for=sendmail title=Chief Science Officer education=University of California at Berkeley employer=Sendmail partner=Marshall Kirk McKusickEric Paul Allman (born 1955)… …   Wikipedia

  • WordPerfect — Developer(s) Corel Stable release X5 …   Wikipedia

  • Emacs — infobox software caption = GNU Emacs 22.0.91.1 with multiple buffers and syntax highlighting for LaTeX, C#, and C. developer = the GNU project author = Richard Stallman released = release year|1976 frequently updated = yes programming language =… …   Wikipedia

  • Liste des paquets GNU — Article principal : GNU. GNU N est pas Unix Cet article liste les paquets logiciels du système GNU maintenus par le projet GNU et soutenus par la Free Software Foundation. Sommaire …   Wikipédia en Français

  • Editor war — For a type of conflict between wiki editors, see Edit war. Editor war is the common name for the rivalry between users of the vi and Emacs text editors. The rivalry has become a lasting part of hacker culture and the free software community. Many …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”