Re: filename of output as YYYYMM.html

Earle Ake (earle.ake@hcst.com)
Wed, 26 May 1999 21:54:01 -0400 (EDT)


According to webdesign@cusimano.com:
> 
> 	Hi,
> 
> 	How do I configure the filename of output to be
> 	YYYYMM.html (eg: 199905.html) so that the filenames
> 	are sorted chronologically when I look at the log
> 	directory?
> 
> 	Yours truly,
> 	CUSIMANO.COM CORPORATION
> 
> 	per: David Cusimano.

	If you are using a script under unix, try something like:

echo "`date +%Y%m`.html"

which would give you the string "199905.html.  Combining this with a script
you might get:

wwwstat your-list-of-switches-and-stuff > `date +%Y%m`.html


-Earle
-- 
Earle Ake       Manager, Internet Services       Earle.Ake@HCST.com
Hassler Communication Systems Technology, Inc.  http://www.hcst.net