use `date` to evaluete the date command in your command line for mail
dave
On Thu, 9 Apr 1998, Karl Asseily wrote:
> Hello,
>
> I am trying to insert the date in a mail subject. Every day, I want cron to
> send me a mail with the subject "Daily Report, <date>".
> I wanna know how I can replace <date> by a string which will insert the
> current date.
> (I am using the command 'mail -s').
>
> Any hints?
>
> Thanks
>
> karl
>
> ----
> "Through the firewall, out the router, down the T1, across the
> backbone, bounced from satellite, Nothing but net."
>
> +-------------------------------------------------------------+
> Karl R. Asseily Binary Compass Enterprises
> E-Mail: [EMAIL PROTECTED] http://www.BizRate.com
> Alternate: [EMAIL PROTECTED] http://www.BinaryCompass.com
> +-------------------------------------------------------------+
>
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.