<p>Write a program <code>calc</code> which evaluates an expression in Reverse Polish Notation given on the command line; for example</p>
<pre>
- $ calc 2 3 4 + *
+ $ calc 2 3 4 + \*
</pre>
- <p>should print 14.</p>
+ <p>should print 14. The character <code>*</code> needs to be escaped with a backslash in some shells or otherwise it gets expanded to all the files in your current directory.</p>