Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Another way with zsh' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way with zsh
Authored by: adrianm on Feb 02, '05 01:43:26PM
if using zsh, try having a function like this

function calc {
  print $(($*))
and then you can type, eg calc 9+3

Of course you could also just type print $((9+3)) but that would just spoil the fun.

[ Reply to This | # ]