HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
n
newalias(1) newalias(1)
firstname The first name of the person (or group). It is combined with lastname to form the
fullname. This field can contain any characters except an unquoted equal sign (
=)or
an unquoted comma (
,). See the Quoting Characters subsection.
The only first name under the Personal or Group Aliases subheading below is:
John
in Smith; John.
lastname The last name of the person (or group). It is combined with firstname to form the
fullname. This field can contain any characters except an unquoted equal sign (
=), an
unquoted semicolon (
;), or an unquoted comma (
,). See the Quoting Characters sub-
section.
The last names under the Personal or Group Aliases subheading below are:
Dave Taylor, Smith, Unix
Gurus, and Unix people.
fullname The combination of firstname lastname. It is usually sent in a mail header in
parentheses after the address. It is also displayed in the Alias Menu of the
elm pro-
gram and by the
elmalias command (see elm(1) and elmalias(1)).
Delimiters
The delimiters have the following precedence:
• The first and second equal signs (
=) mark the end of the alias-list and the beginning of the address-
list, respectively. Both equal signs are required.
• The first comma (
,) after the first equal sign and before the second equal sign marks the beginning of
the comment field.
• The first semicolon (;) after the first equal sign and before the next comma or second equal sign
marks the beginning of the firstname field.
Personal or Group Aliases
A personal or individual alias has only one address in address-list, as in:
dave, taylor = Dave Taylor = taylor@company.com
j_smith = Smith; John, 408-555-1212 =johns@pocahontas.gov
A group alias has two or more addresses in address-list, as in:
gurus = Unix Gurus = alan, john, dave, mike,
richard, larry, t_richardson
unix = Unix people = gurus, taylor, jonboy
Other Rules
Entries can be continued over several lines; the continuation lines must start with a blank (a space or tab).
A comment is any line starting with a number sign (#). It is ignored.
Blank lines and comments can be interspersed within entries.
Quoting Characters
You can include normally excluded characters in firstname, lastname, comment, and mail addresses in
address-list by escaping each character with a backslash (\) or by enclosing the string in quotation marks
("). To include a quotation mark or a backslash, escape it with a backslash, whether inside or outside quo-
tation marks.
FILES
$HOME/.elm/aliases User alias database data table
$HOME/.elm/aliases.dir User alias database directory table
$HOME/.elm/aliases.pag User alias database hash table
$HOME/.elm/aliases.text User alias source text
/var/mail/.elm/aliases System alias database data table
/var/mail/.elm/aliases.dir System alias database directory table
/var/mail/.elm/aliases.pag System alias database hash table
/var/mail/.elm/aliases.text System alias source text
Section 1−−596 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005