BSD-SCCS END release
[unix-history] / usr / src / usr.bin / mail / mail.1
index 071ca41..03e4218 100644 (file)
@@ -3,7 +3,7 @@
 .\"
 .\" %sccs.include.redist.roff%
 .\"
 .\"
 .\" %sccs.include.redist.roff%
 .\"
-.\"    @(#)mail.1      8.6 (Berkeley) %G%
+.\"    @(#)mail.1      8.8 (Berkeley) %G%
 .\"
 .Dd 
 .Dt MAIL 1
 .\"
 .Dd 
 .Dt MAIL 1
@@ -82,7 +82,7 @@ writes undeleted messages back to this file.
 .It Fl u
 Is equivalent to:
 .Pp
 .It Fl u
 Is equivalent to:
 .Pp
-.Dl mail -f /var/spool/mail/user
+.Dl mail -f /var/mail/user
 .El
 .Ss Sending mail
 To send a message to one or more people,
 .El
 .Ss Sending mail
 To send a message to one or more people,
@@ -873,9 +873,13 @@ Suppresses the printing of the version when first invoked.
 If this option is set, then a message-list specifier in the form ``/x:y''
 will expand to all messages containing the substring ``y'' in the header
 field ``x''.  The string search is case insensitive.
 If this option is set, then a message-list specifier in the form ``/x:y''
 will expand to all messages containing the substring ``y'' in the header
 field ``x''.  The string search is case insensitive.
-The form ``/To:y'' is a special case, and will expand
+If ``x'' is ommitted, it will default to the ``Subject'' header field.
+The form ``/to:y'' is a special case, and will expand
 to all messages containing the substring ``y'' in the ``To'', ``Cc''
 or ``Bcc'' header fields.
 to all messages containing the substring ``y'' in the ``To'', ``Cc''
 or ``Bcc'' header fields.
+The check for "to" is case sensitive, so that
+``/To:y'' can be used to limit the search for ``y'' to just
+the ``To:'' field.
 .It Ar verbose
 Setting the option
 .Ar verbose
 .It Ar verbose
 Setting the option
 .Ar verbose
@@ -980,7 +984,7 @@ and
 environment variables.
 .Sh FILES
 .Bl -tag -width /usr/share/misc/Mail.help* -compact
 environment variables.
 .Sh FILES
 .Bl -tag -width /usr/share/misc/Mail.help* -compact
-.It Pa /var/spool/mail/*
+.It Pa /var/mail/*
 Post office.
 .It ~/mbox
 User's old mail.
 Post office.
 .It ~/mbox
 User's old mail.