The Tao is like a bellows:
it is empty yet infinitely capable.
The more you use it, the more it produces;
the more you talk of it, the less you understand.
Simple bash calculator
Put the following little snippet in your .bashrc/.bash_profile and you'll have a handy little calculator:
? () { echo "$*" | bc -l; }Use like this:
bash$ ? 2*2
4
Thanks textsnippets.com
- admin's blog
- Login to post comments

