#! /bin/sh #This script upgrades any binary or source simon.0.5 or 0.6 to simon.0.6`7 echo This script upgrades simon 0.5 or 0.6 to 0.7. echo Just run it inside your simon directory echo Trying to upgrade now ... cat simple-simon.tcl | sed -e 's/pack .button_bar_3 -fill x -expand true/pack .button_bar_3 -fill x -side bottom/' \ -e 's/Remember to do a send simon now and again/Remember to do a send simon about once a week/' > simple-simon.tcl.0.7 cat send-simon | sed -e 's?Mail?/bin/mail?' -e 's?-s $SUBJECT??' > send-simon.0.7 rm simple-simon.tcl mv simple-simon.tcl.0.7 simple-simon.tcl rm send-simon mv send-simon.0.7 send-simon chmod u+x send-simon