Scroll to navigation

WFINDENT(1) User Commands WFINDENT(1)

NAME

wfindent - Indents and optionally converts Fortran program sources

SYNOPSIS

wfindent [OPTION]... [FILE]...

See 'man 1 findent' for the options.

DESCRIPTION

Wfindent is a wrapper for findent(1), calling findent for each of the files. The files are overwritten by the indented version. A sanity check is made before overwriting a input file.

ENVIRONMENT

The following environment variables influence the working of wfindent: FINDENT
If set, wfindent will use this as the location of findent.
WFINDENT_GETOPT
If set, wfindent will use this as the location of getopt. The correct working of wfindent depends on a gnu-compatible program 'getopt'.

Example:

wfindent -i4 *.f90

COPYRIGHT

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

October 2019 wfindent