thanks

Bill Moran wrote:
In response to Bill Banks <[EMAIL PROTECTED]>:

What am I doing wrough here:

#!/bin/sh
 $DAYN='/bin/date +%a' + "_master.sql"
 mysqldump master > $DAYN

Those look to be single quotes and not backquotes.  (backquote is
the upper left key on most keyboards)

Wojciech Puchar wrote:
dayoftheweek=`date +%w`



On Fri, 9 Nov 2007, Bill Banks wrote:

I'm writing a backup script. I need to get the day of the week into a variable. How can I do it?

--
-----------------------------------------------
Bill Banks                         508-829-2005
Wachusett Programming              Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


--
-----------------------------------------------
Bill Banks                         508-829-2005
Wachusett Programming              Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



--
-----------------------------------------------
Bill Banks                         508-829-2005
Wachusett Programming              Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to