in reply to Re: Re: •Re: Re: Simple command line calculator
in thread Simple command line calculator

How about a Perl solution?

perl -le'print eval shift'
Or, to slurp all arguments:
perl -le'print eval "@ARGV"'

U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk