from.1 (f682f10c76449b3af3b1dd9afff859cd1cd07116) from.1 (c03c456567bb6507c5cf05471ba741ea661fb91b)
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 41 unchanged lines hidden (view full) ---

50utility prints
51out the mail header lines from the invoker's mailbox.
52.Pp
53The following options are available:
54.Bl -tag -width indent
55.It Fl c
56Just print a count of messages and exit.
57.It Fl f Ar file
1.\" Copyright (c) 1980, 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 41 unchanged lines hidden (view full) ---

50utility prints
51out the mail header lines from the invoker's mailbox.
52.Pp
53The following options are available:
54.Bl -tag -width indent
55.It Fl c
56Just print a count of messages and exit.
57.It Fl f Ar file
58The supplied file
58The supplied
59.Ar file
59is examined instead of the invoker's mailbox.
60If the
61.Fl f
62option is used, the
63.Ar user
64argument should not be used.
65Read from standard input if file name
60is examined instead of the invoker's mailbox.
61If the
62.Fl f
63option is used, the
64.Ar user
65argument should not be used.
66Read from standard input if file name
66.Ar -
67.Dq Fl
67is given.
68.It Fl s Ar sender
69Only mail from addresses containing
70the
71supplied string are printed.
72.El
73.Pp
74If
75.Ar user
76is given, the
77.Ar user Ns 's
78mailbox is examined instead of the invoker's own mailbox.
79(Privileges are required.)
80.Sh ENVIRONMENT
68is given.
69.It Fl s Ar sender
70Only mail from addresses containing
71the
72supplied string are printed.
73.El
74.Pp
75If
76.Ar user
77is given, the
78.Ar user Ns 's
79mailbox is examined instead of the invoker's own mailbox.
80(Privileges are required.)
81.Sh ENVIRONMENT
81.Bl -tag -width Fl
82.Bl -tag -width indent
82.It Ev MAIL
83If set, the location of the invoker's mailbox.
84Otherwise, the default in
85.Pa /var/mail
86is used.
87.El
88.Sh FILES
83.It Ev MAIL
84If set, the location of the invoker's mailbox.
85Otherwise, the default in
86.Pa /var/mail
87is used.
88.El
89.Sh FILES
89.Bl -tag -width /var/mail/* -compact
90.Bl -tag -width ".Pa /var/mail/*" -compact
90.It Pa /var/mail/*
91.El
92.Sh SEE ALSO
93.Xr biff 1 ,
94.Xr mail 1
95.Sh HISTORY
96The
97.Nm
98command appeared in
99.Bx 3.0 .
91.It Pa /var/mail/*
92.El
93.Sh SEE ALSO
94.Xr biff 1 ,
95.Xr mail 1
96.Sh HISTORY
97The
98.Nm
99command appeared in
100.Bx 3.0 .