SLUG Mailing List Archives; > > newmonth = `echo $oldmonth | sed -e 's/0\([1-9]\)/\1/'` ; > newmonth = `echo $oldmonth | sed -e 's/^0//'` ; > ; Both of these work on the target system, so I'm going with the one that ; involves the least typing. You can save another couple of keystrokes by omitting the '-e'. r.