[aclug-L] Re: Automatically entering today's date in a subject line
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 22 Oct 1999, Ryan Claycamp wrote:
> 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?
Wow, you'll love Monday's presentation :)
here's a sneak peek:
You can use backtacks to insert the results of one command
into another:
wget xxx-`date +%m-%d-%y`.html ...
-jeff
--
"Uncle Cosmo ... why do they call this a word processor?"
"It's simple, Skyler ... you've seen what food processors do to food, right?"
-- MacNelley, "Shoe"
|
|