.HP 5
.na
.B ali
-.RB [ \-alias
-.IR aliasfile ]
+.RB [ \-file
+.IR aliasfile ]...
.RB [ \-list " | " \-nolist ]
.RB [ \-normalize " | " \-nonormalize ]
.RB [ \-user " | " \-nouser ]
-.RB [ \-version ]
+.RB [ \-Version ]
.RB [ \-help ]
.RI [ aliases " ...]"
.ad
and writes that list on standard output. If no arguments are given,
.B ali
outputs all alias entries.
+This can be used to check the format of the alias file for validity.
.PP
-By default, when an aliases expands to multiple addresses, the addresses
+By default, when an alias expands to multiple addresses, the addresses
are separated by commas and printed on as few lines as possible. If the
.B \-list
-option is specified, then when an address expands to multiple
+switch is specified, and an address expands to multiple
addresses, each address will appear on a separate line.
.PP
-The switch
+The
.B \-user
-directs
+switch directs
.B ali
to perform its processing in
an inverted fashion: instead of listing the addresses that each given
will
try to track down the official hostname of the address.
.PP
-The files specified by the profile entry
-.RI \*(lq Aliasfile \*(rq
-and any additional alias files given by the
-.B \-alias
+If no
+.B \-file
+.I aliasfile
+is given, then the default alias files, as specified by the profile entry
+.RI ` Aliasfile ',
+will be read.
+If any alias files are given by
+.B \-file
.I aliasfile
-switch will be read. Each
+switches, these will be read instead of the default alias files.
+Either the default alias files are read or the ones given at the
+command line, never both.
+.PP
+Each
.I alias
is processed as described in
.BR mh\-alias (5).
-
.SH FILES
.fc ^ ~
.nf
^/etc/passwd~^List of users
^/etc/group~^List of groups
.fi
-
.SH "PROFILE COMPONENTS"
.fc ^ ~
.nf
.ta 2.4i
.ta \w'ExtraBigProfileName 'u
^Path:~^To determine the user's mail storage
-^Aliasfile:~^For a default alias file
+^Aliasfile:~^For default alias files
.fi
-
.SH "SEE ALSO"
mh\-alias(5)
-
.SH DEFAULTS
.nf
.RB ` \-nolist '
.RB ` \-nonormalize '
.RB ` \-nouser '
.fi
-
.SH CONTEXT
None
-
.SH BUGS
The
.B \-user