shell programming
Bill Banks
office at ourweb.net
Wed Nov 14 09:33:56 PST 2007
thanks
Bill Moran wrote:
> In response to Bill Banks <office at ourweb.net>:
>
>
>> 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 at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>> To unsubscribe, send any mail to
>>>> "freebsd-questions-unsubscribe at freebsd.org"
>>>>
>>>>
>>>>
>>>
>> --
>> -----------------------------------------------
>> Bill Banks 508-829-2005
>> Wachusett Programming Ourweb
>> http://www.ourweb.net
>> http://www.ourwebtemplates.com
>>
>>
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>
>
>
>
--
-----------------------------------------------
Bill Banks 508-829-2005
Wachusett Programming Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
More information about the freebsd-questions
mailing list