Date: Wed, 14 Nov 2007 12:24:36 -0500 From: Bill Banks <office@ourweb.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: shell programming Message-ID: <473B2F54.7030208@ourweb.net> In-Reply-To: <20071109193001.Y20961@wojtek.tensor.gdynia.pl> References: <47349D10.20709@ourweb.net> <20071109193001.Y20961@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
What am I doing wrough here: #!/bin/sh $DAYN='/bin/date +%a' + "_master.sql" mysqldump master > $DAYN 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 >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > -- ----------------------------------------------- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473B2F54.7030208>