cat file1 file2 file3 | mail
On Thu, Nov 21, 2002 at 12:08:16PM -0800, Scott H wrote:
> A coupld of days ago, someone was helpful in
> suggesting how I could use the mail command to
> send text files via cron. (mail < textfile)
> Simple enough. Now I'd like to combine a few
> files and email them together in one email. For
> instance, I have files: file1, file2, file3. I
> want them to be put in order, like what comes out
> of:
>
> cat file1 file2 file3
>
> But you can't use the syntax:
>
> mail < cat file1 file2 file3
>
> How do I write this? Tanks a million.
>
> Scott
>
>
> .
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus ? Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss