IMDENT manual page

Table of Contents


NAME

imdent -indent cpp directives to show nesting level

SYNOPSIS

imdent [ -n ] [ file ] ...

DESCRIPTION

imdent reads the named input file(s), or the standard input if no files are named, and adds indentation to cpp directives based on the nesting level of conditional directives. This visually shows the nesting as an aid to finding malformed conditional constructs and can be helpful when debugging imake configuration files.

imdent understands the following option:

-n
Specify indentation increment per nesting level. n is a number. The default is 2 spaces. -0 removes all indentation.

EXAMPLE

Given the following input:
imdent produces the following output:

WHO-TO-BLAME

Paul DuBois, dubois@primate.wisc.edu