Thursday, November 08, 2007

Indent - Beautify your C source code

Introduction

GNU Indent is a GNU tool used to make code easier to read. It can also convert from one style of writing C to another.

Default Parameters file

indent will use the ~/.indent.pro file as the default parameter file. My content of the .indent.pro is:
-bad -bap -bbb -bbo -nbc -br -bli0 -bls -c33 -cd33 -ncdb -ncdw -ce -cli0 -cp33 -cs -d0 -nbfda -di2 -nfc1 -nfca -hnl -ip5 -l75 -lp -npcs -nprs -npsl -saf -sai -saw -nsc -nsob -nss -i4 -ts4 -ut
Reference:
http://linux.die.net/man/1/indent

2 Comments:

At 11/11/2008 1:00 PM , Anonymous Anonymous said...

Great work.

 
At 1/27/2012 8:25 PM , Blogger Android app development said...

Really this is one of the Important source code.C is one of the procedure programming language.Good post.
Android app developers

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home