On 27/08/12 07:44, Sjoerd Mullender wrote:

You're using the wrong quotes.  As it stands, your comparing the string
"date +%A" with the string "Sunday".  Presumably what you want is to
compare the output of the command "date +%S" with the string "Sunday".
You need to use "backticks" for that:
test `date +\%A` = Sunday

Thank you my friend,
I just couldn't see it without your aid.

--
Regards,
Frank
"Jack of all, fubars"
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to