xref: /minix3/usr.bin/from/from.1 (revision 1d4c0ebe0f4cf675c560a467218f4d8d7b17be20)
1*1d4c0ebeSThomas Cort.\"	$NetBSD: from.1,v 1.8 2003/08/07 11:13:49 agc Exp $
2*1d4c0ebeSThomas Cort.\"
3*1d4c0ebeSThomas Cort.\" Copyright (c) 1980, 1990, 1993
4*1d4c0ebeSThomas Cort.\"	The Regents of the University of California.  All rights reserved.
5*1d4c0ebeSThomas Cort.\"
6*1d4c0ebeSThomas Cort.\" Redistribution and use in source and binary forms, with or without
7*1d4c0ebeSThomas Cort.\" modification, are permitted provided that the following conditions
8*1d4c0ebeSThomas Cort.\" are met:
9*1d4c0ebeSThomas Cort.\" 1. Redistributions of source code must retain the above copyright
10*1d4c0ebeSThomas Cort.\"    notice, this list of conditions and the following disclaimer.
11*1d4c0ebeSThomas Cort.\" 2. Redistributions in binary form must reproduce the above copyright
12*1d4c0ebeSThomas Cort.\"    notice, this list of conditions and the following disclaimer in the
13*1d4c0ebeSThomas Cort.\"    documentation and/or other materials provided with the distribution.
14*1d4c0ebeSThomas Cort.\" 3. Neither the name of the University nor the names of its contributors
15*1d4c0ebeSThomas Cort.\"    may be used to endorse or promote products derived from this software
16*1d4c0ebeSThomas Cort.\"    without specific prior written permission.
17*1d4c0ebeSThomas Cort.\"
18*1d4c0ebeSThomas Cort.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19*1d4c0ebeSThomas Cort.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*1d4c0ebeSThomas Cort.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*1d4c0ebeSThomas Cort.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22*1d4c0ebeSThomas Cort.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23*1d4c0ebeSThomas Cort.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24*1d4c0ebeSThomas Cort.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25*1d4c0ebeSThomas Cort.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26*1d4c0ebeSThomas Cort.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27*1d4c0ebeSThomas Cort.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28*1d4c0ebeSThomas Cort.\" SUCH DAMAGE.
29*1d4c0ebeSThomas Cort.\"
30*1d4c0ebeSThomas Cort.\"	@(#)from.1	8.2 (Berkeley) 12/30/93
31*1d4c0ebeSThomas Cort.\"
32*1d4c0ebeSThomas Cort.Dd December 30, 1993
33*1d4c0ebeSThomas Cort.Dt FROM 1
34*1d4c0ebeSThomas Cort.Os
35*1d4c0ebeSThomas Cort.Sh NAME
36*1d4c0ebeSThomas Cort.Nm from
37*1d4c0ebeSThomas Cort.Nd print names of those who have sent mail
38*1d4c0ebeSThomas Cort.Sh SYNOPSIS
39*1d4c0ebeSThomas Cort.Nm
40*1d4c0ebeSThomas Cort.Op Fl s Ar sender
41*1d4c0ebeSThomas Cort.Op Fl f Ar file
42*1d4c0ebeSThomas Cort.Op Ar user
43*1d4c0ebeSThomas Cort.Sh DESCRIPTION
44*1d4c0ebeSThomas Cort.Nm
45*1d4c0ebeSThomas Cortprints
46*1d4c0ebeSThomas Cortout the mail header lines from the invoker's mailbox.
47*1d4c0ebeSThomas Cort.Pp
48*1d4c0ebeSThomas CortOptions:
49*1d4c0ebeSThomas Cort.Bl -tag -width Fl
50*1d4c0ebeSThomas Cort.It Fl f Ar file
51*1d4c0ebeSThomas CortThe supplied file
52*1d4c0ebeSThomas Cortis examined instead of the invoker's mailbox.
53*1d4c0ebeSThomas CortIf the
54*1d4c0ebeSThomas Cort.Fl f
55*1d4c0ebeSThomas Cortoption is used, the
56*1d4c0ebeSThomas Cort.Ar user
57*1d4c0ebeSThomas Cortargument should not be used.
58*1d4c0ebeSThomas Cort.It Fl s Ar sender
59*1d4c0ebeSThomas CortOnly mail from addresses containing
60*1d4c0ebeSThomas Cortthe
61*1d4c0ebeSThomas Cortsupplied string are printed.
62*1d4c0ebeSThomas Cort.El
63*1d4c0ebeSThomas Cort.Pp
64*1d4c0ebeSThomas CortIf
65*1d4c0ebeSThomas Cort.Ar user
66*1d4c0ebeSThomas Cortis given, the
67*1d4c0ebeSThomas Cort.Ar user Ns 's
68*1d4c0ebeSThomas Cortmailbox, is examined instead of the invoker's own mailbox.
69*1d4c0ebeSThomas Cort(Privileges are required.)
70*1d4c0ebeSThomas Cort.Sh FILES
71*1d4c0ebeSThomas Cort.Bl -tag -width /var/mail/* -compact
72*1d4c0ebeSThomas Cort.It Pa /var/mail/*
73*1d4c0ebeSThomas Cort.El
74*1d4c0ebeSThomas Cort.Sh SEE ALSO
75*1d4c0ebeSThomas Cort.Xr biff 1 ,
76*1d4c0ebeSThomas Cort.Xr mail 1
77*1d4c0ebeSThomas Cort.Sh HISTORY
78*1d4c0ebeSThomas CortThe
79*1d4c0ebeSThomas Cort.Nm
80*1d4c0ebeSThomas Cortcommand appeared in
81*1d4c0ebeSThomas Cort.Bx 3.0 .
82