View Single Post
Posts: 540 | Thanked: 387 times | Joined on May 2009
#4
Press the Chr key. An small on-screen menu will appear. Scroll down and click the { curly bracket } keys

minute() { foo=`date +%S`; echo $foo; if [ "$foo" -lt "30" ]; then echo "under half"; else echo "over half"; fi; }