function calc { perl -ple '$_=eval' } function expr { echo "$1" | calc } [download]
In reply to Re: Re: •Re: Re: Simple command line calculator by toku in thread Simple command line calculator by vladb