On Thu, 2003-07-17 at 07:10, D. D. Brierton wrote:

> $ date=`eval date +%d-%B-%Y`; cp filename filename-$date

There's no need for the intermediate "$date" variable:

    cp filename filename-`date +%Y-%m-%d`

NOTE: the quotes are backquotes (a.k.a. "grave accent")

-- 
Richard Bellavance                   CGI
Analyste-Programmeur Principal
T.: 514-415-3000 #5463               1350, boul. Ren�-L�vesque Ouest
F.: 514-415-3972                     Montr�al, Qc, H3G 1T4, CANADA

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to