Jack Stone wrote: > I could use the "date" command to do: 2006-09.txt or maybe 2006-Sep.txt > but I haven't found a simple way to set a variable make date spell out > the whole name of the month to match the file name.
date +"%Y-%B.txt" See strftime(3) for all of the %-escapes you can use. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
Description: OpenPGP digital signature