I'll look into the sed thing.
> What is the best way to do simple mathematical operations under
> tomsrtbt? I'm a bash freak and have come to rely on $[3-1] syntax,
> which of course isn't implemented in ash-based-shells.
I use awk for simple math in shell scripts, something like:
$(awk 'BEGIN{print 3-1}')
is the equivalent of bash's $[3-1].
-Tom
