I personally am a fan of perl -ple'$_="> ".eval'. This is probably the most common script I write. Of course, your code above has the advantage of being transferrable to a system without Perl.
In reply to Re: bc.exe - trivial one-liner
by kaif
in thread bc.exe - trivial one-liner
by sh1tn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |