Web lists-archives.com

Re: Recomended tutoial(s) on doing arithmetic in Bash scripts




On 03/05/2017 01:48 PM, David Christensen wrote:
On 03/05/2017 07:42 AM, Richard Owlett wrote:
I'm interested in "expr" and "bc".
The man pages lack reasonable examples.
The tutorial/HOWTO pages confuse the issue with fancy page layouts
and/or code samples showing how impressive the author can make the
script's output.

Suggestions please.

https://www.perl.org/


Browsing the site I found some unintended humor - "The behavior of binary arithmetic operators depends on whether they're used on numbers or strings." http://learn.perl.org/faq/perlfaq4.html

More seriously, the site demonstrates to convey useful information to different audiences. I suspect I'm going get even less sleep ;>

Thank you.