@terdon in this post answered the related question of mine, but I missed one more question in that post.
Plz refer to the following commands:
calc(){ awk "BEGIN{ print $* }" ;}; calc "((3+(2^3)) * 34^2 / 9)-75.89"
The above commands work fine with calculated result '1337'.
echo '((3+(2^3)) * 34^2 / 9)-75.89' | awk "BEGIN{ print $* }"
But the above commands don't give any result while @terdon explained well about why.
Could you advise what made the first example work with $*?