Complete.Org: Mailing Lists: Archives: discussion: October 1999:
[aclug-L] Automatically entering today's date in a subject line
Home

[aclug-L] Automatically entering today's date in a subject line

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "aclug-L@xxxxxxxxxxxx" <aclug-L@xxxxxxxxxxxx>
Subject: [aclug-L] Automatically entering today's date in a subject line
From: Ryan Claycamp <claycamp@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Oct 1999 11:17:12 -0500
Reply-to: aclug-L@xxxxxxxxxxxx

A friend of mine would like to get a web page that changes daily, using
the date as part of the file name.  I thought I could write a little
script file to pull the file using wget and mail it to her including the
date in the subject line.  My problem is that I don't know how to add a
changing argument to the command line.

The web page is in the form of xxx-MM-DD-YY.html.  I discovered that
'date +%m-%d-%y' gives me what I want, i.e. 10-22-99.  How do I get this
to wget, i.e. wget xxx-DATE.html and then how do I put it in a subject,
i.e. Web Page for DATE?  Is this even possible?

Thanks,
Ryan
-- 
My President sold our country's nuclear secrets to Communist China
and all I got was this .sig file

[Prev in Thread] Current Thread [Next in Thread]