I have this script (among others) that generates my wallpaper every time I enter / midnight. It has 755 permissions. Code Part:
#/bin/bash convert -size 1440x900 xc:none wall.png composite -gravity center ../pics/im256.png wall.png wall.png composite -geometry 118x67+661+578 ../pics/im-title-white.png wall.png wall.png TIME=`$HOME/bin/time.py | grep "\."` if [[ $TIME == *\'* ]] then # <...1...> else # <...2...> fi
I am wondering if there is $TIME << 22> in my variable. If there are no characters, then everything is fine.
Now that I know that there is at least one character ' (or I can make it do this), when I double-click on the script, I am in the else , when I run the script in the terminal - I am in the then expression. I would always refer to the then expression, but how?
I trimmed the loss of the part (left - right, right - wrong):


source share