I really don't know how bc/dc work. I need to do some really simple math in a Bourne script. But there are decimal places, so I can't use
$(( expression ))
(which otherwise would work as a shell built-in).
E.g., what's the syntax for finding
$X / 100 + 1
?I wish the man pages had damn example sections!
Thanks.
Dallman