mail: the "copy" command operates on files by default.
Last argument is treated as a mailbox only if it begins with a mailbox scheme (mbox://, maildir://, etc). * mail/copy.c (append_to_mailbox) (append_to_file): New functions. (mail_copy0): Depending on whether mailbox scheme is specified, call one of the above functions. * doc/texinfo/programs.texi (mail): Fix documentation of the copy command. * mail/testsuite/mail/write.exp: Update line/character counts for [Ss]ave commands.
Showing
3 changed files
with
202 additions
and
54 deletions
-
Please register or sign in to post a comment