diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-16 15:11:17 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-07-16 15:11:17 +0000 |
commit | 2c38c491b97bc716d7cebd790454dd87d79d68ac (patch) | |
tree | 0adfdde4e6ebf5e4043cc4dc1e53e964a8a0a7af /usr.bin/mail/mail.1 | |
parent | 34ea02bb9c6b61dab9766c85843a6b34824c8115 (diff) |
add -E flag and 'skipempty' option to skip sending messages with
empty bodies. useful for sending mails from crontabs.
from rivo nurges <rix at estpak dot ee>, with missing 'skipempty'
documentation and usage update from me
ok millert@
Diffstat (limited to 'usr.bin/mail/mail.1')
-rw-r--r-- | usr.bin/mail/mail.1 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/mail/mail.1 b/usr.bin/mail/mail.1 index f2f4fba45dd..1457121cb37 100644 --- a/usr.bin/mail/mail.1 +++ b/usr.bin/mail/mail.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mail.1,v 1.52 2008/07/16 14:56:11 martynas Exp $ +.\" $OpenBSD: mail.1,v 1.53 2008/07/16 15:11:16 martynas Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,7 +40,7 @@ .Sh SYNOPSIS .Nm mail .Bk -words -.Op Fl Iinv +.Op Fl EIinv .Op Fl b Ar list .Op Fl c Ar list .Op Fl s Ar subject @@ -48,11 +48,11 @@ .Op Fl Ar sendmail-options ... .Ek .Nm mail -.Op Fl IiNnv +.Op Fl EIiNnv .Fl f .Op Ar file .Nm mail -.Op Fl IiNnv +.Op Fl EIiNnv .Op Fl u Ar user .Sh DESCRIPTION .Nm mail @@ -72,6 +72,8 @@ Send carbon copies to of users. .Ar list should be a comma separated list of names. +.It Fl E +Don't send messages with an empty body. .It Fl f Op Ar file Read in the contents of your mailbox (or the specified @@ -954,6 +956,8 @@ can be used to limit the search for to just the .Dq To: field. +.It Ar skipempty +Don't send messages with an empty body. .It Ar verbose Setting the option .Ar verbose |