-.TH ALI %manext1% "December 4, 2013" "%nmhversion%"
-.\"
+.TH ALI %manext1% 2013-12-05 "%nmhversion%"
+.
.\" %nmhwarning%
-.\"
+.
.SH NAME
-ali \- list mail aliases
+ali \- list nmh mail aliases
.SH SYNOPSIS
.HP 5
.na
.B ali
+.RB [ \-help ]
+.RB [ \-version ]
.RB [ \-alias
.IR aliasfile ]
.RB [ \-list " | " \-nolist ]
.RB [ \-user " | " \-nouser ]
-.RB [ \-version ]
-.RB [ \-help ]
.RI [ aliases " ...]"
.ad
.SH DESCRIPTION
-.B Ali
+.B ali
searches the named mail alias files for each of the given
.IR aliases .
It creates a list of addresses for those
.B ali
outputs all alias entries.
.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
.RI \*(lq . \*(rq
or
.RI \*(lq .. \*(rq
-then it's accessed directly; otherwise tilde expansion is done on
+it is accessed directly; otherwise tilde expansion is done on
usernames, then files are searched for in the user's
.I Mail
directory as specified in their profile. If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
is checked.
.PP
.TP 20
-$HOME/.mh\-profile
+$HOME/.mh_profile
The user's profile.
.SH "PROFILE COMPONENTS"
.PP
.PD 0
.TP 20
aliasfile
-%etcdir%/MailAliases
+%nmhetcdir%/MailAliases
.TP
\-nolist
.TP
.PD
.SH CONTEXT
None
-.SH BUGS
-The
-.B \-user
-option with
-.B \-nonormalize
-is not entirely accurate, as it
-does not replace local nicknames for hosts with their official site names.