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

[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]
To: "aclug-L@xxxxxxxxxxxx" <aclug-L@xxxxxxxxxxxx>
Subject: [aclug-L] Re: Automatically entering today's date in a subject line
From: Jeff <schaller@xxxxxxxxxxxxx>
Date: Fri, 22 Oct 1999 11:26:51 -0500 (CDT)
Reply-to: aclug-L@xxxxxxxxxxxx

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"


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