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"