xref: /csrg-svn/usr.bin/from/from.1 (revision 65227)
162003Sbostic.\" Copyright (c) 1980, 1990, 1993
262003Sbostic.\"	The Regents of the University of California.  All rights reserved.
319144Smckusick.\"
450584Scael.\" %sccs.include.redist.roff%
519144Smckusick.\"
6*65227Smckusick.\"	@(#)from.1	8.2 (Berkeley) 12/30/93
735751Sbostic.\"
843693Scael.Dd
943693Scael.Dt FROM 1
1043693Scael.Os BSD 4
1143693Scael.Sh NAME
1243693Scael.Nm from
1350584Scael.Nd print names of those who have sent mail
1443693Scael.Sh SYNOPSIS
1543693Scael.Nm from
1643693Scael.Op Fl s Ar sender
1743693Scael.Op Fl f Ar file
1843693Scael.Op Ar user
1943693Scael.Sh DESCRIPTION
2043693Scael.Nm From
2143693Scaelprints
2250584Scaelout the mail header lines from the invoker's mailbox.
2343693Scael.Pp
2443693ScaelOptions:
2550584Scael.Bl -tag -width Fl
2650584Scael.It Fl f Ar file
2743693ScaelThe supplied file
2850584Scaelis examined instead of the invoker's mailbox.
2943693ScaelIf the
3043693Scael.Fl f
3143693Scaeloption is used, the
3243693Scael.Ar user
3343693Scaelargument should not be used.
3450584Scael.It Fl s Ar sender
3543693ScaelOnly mail from addresses containing
3643693Scaelthe
3743693Scaelsupplied string are printed.
3850584Scael.El
3943693Scael.Pp
4043693ScaelIf
4143693Scael.Ar user
4243693Scaelis given, the
4350584Scael.Ar user Ns 's
4450584Scaelmailbox, is examined instead of the invoker's own mailbox.
45*65227Smckusick(Privileges are required.)
4643693Scael.Sh FILES
4750584Scael.Bl -tag -width /var/mail/* -compact
4850584Scael.It Pa /var/mail/*
4950584Scael.El
5043693Scael.Sh SEE ALSO
5143693Scael.Xr biff 1 ,
5243693Scael.Xr mail 1
5343693Scael.Sh HISTORY
5450584ScaelThe
5550584Scael.Nm from
5650584Scaelcommand appeared in
5750584Scael.Bx 3.0 .
58