.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
are separated by commas and printed on as few lines as possible. If the
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
-switch will be read. Each
+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
+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).
.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"