User Tools

Site Tools


mywiki:linux:linux_soding_style

This is an old revision of the document!


Table of Contents

Linux Coding Style

Formatting Tools

indent

The indent program, an excellent GNU utility found on most Linux systems, formats source according to given rules. The default settings are for the GNU coding style, which is not too pretty. To get the utility to follow the Linux kernel style, do

indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl <file>

mywiki/linux/linux_soding_style.1411859659.txt.gz · Last modified: (external edit)