Share on Facebook Share on Twitter Email
Answers.com

Indent

 
Wikipedia: 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.

Contents

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
Original author(s) David Ingamells, Carlo Wood, Joseph Arceneaux, Jim Kingdon, John Bridges
Developer(s) FSF
Stable release 2.2.10 / 2008-03-11; 16 months ago
Written in C
Operating system Cross-platform
Development status Inactive?
Type source code reformat tool
License GNU General Public License
Website http://www.gnu.org/software/indent/


GNU indent is the GNU Project's version of indent. A different indent style, the GNU style, is used by default.

GUI

External links

See also

  • Uncrustify
  • Astyle
  • GreatCode
  • BCPP

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
notch
kick
jut

What is indented style? Read answer...
Where is the button to indent? Read answer...
What is a chin indentation? Read answer...

Help us answer these
How do you break the indent?
What is the indentity of local?
What is indented letterstyle?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Indent (Unix)" Read more