command line calculator

calc(){ awk "BEGIN{ print $* }" ;}
simple function , floating point number is supported.

12
By: twfcc
2009-10-23 06:03:07
awk

3 Alternatives + Submit Alt

What Others Think

I love this. Much easier than my previous favorite (also listed here): echo "expr" | bc
mscar · 708 weeks and 1 day ago
Thanks! I created command "calc" from this that I can use from the command line at any time (faster than echo "equation" | bc) ~/bin/calc #!/bin/bash ARG=("$@") x=$( printf "%s" "${ARG[@]}" ) calc(){ awk "BEGIN{ print $* }" ;} calc $x
jrparris · 691 weeks and 5 days ago
But at least it didn’t change its tone and the ending was rather satisfactory. https://https://193.168.195.169.com
lemeyiy711 · 74 weeks and 1 day ago
Thanks for sharing your ideas. I might also like to convey that video games have been actually evolving. Modern tools and innovations have made it easier to create practical and interactive games. These types of entertainment games were not that sensible when the real concept was first being used. Just like other styles of technological innovation, video games way too have had to grow by means of many ages. This itself is testimony towards the fast growth and development of video games. US WIZA BIZNESOWA
wenilak444 · 73 weeks and 3 days ago
I have learned result-oriented things via your website. One other thing I want to say is newer laptop operating systems are inclined to allow far more memory to get used, but they likewise demand more storage simply to operate. If your computer could not handle a lot more memory as well as the newest application requires that ram increase, it usually is the time to buy a new Laptop or computer. Thanks ????? ???????
nakav51247 · 73 weeks and 1 day ago
disco lights with built-in laser x-y scanner are the coolest stuff that you can add to your disco room** jav
wenilak444 · 73 weeks ago
Youre so cool! I dont suppose Ive read anything in this way just before. So nice to uncover somebody by original applying for grants this subject. realy i appreciate you for beginning this up. this fabulous website is something that is needed on the web, a person with a bit of originality. helpful project for bringing something totally new for the world wide web! nclex practice test
wenilak444 · 72 weeks and 6 days ago
Bless you designed for presenting modern up-dates concerning the anxiety, As i watch for browse alot more. minecraftskindex
KayGasaway · 72 weeks and 6 days ago
Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. https://www.createemailaccounts.net/
KayGasaway · 72 weeks and 4 days ago
It’s best to take part in a contest for top-of-the-line blogs on the web. I will suggest this website! ?O ka palapala noi ?o US Visa Online
nakav51247 · 72 weeks and 2 days ago
https://seofox.ir/seo-principles/https://seofox.ir/seo-checklist/https://seofox.ir/seo/https://seofox.ir/seo-contract/https://seofox.ir/https://seofox.ir/gray-hat-seo/https://seofox.ir/robots/https://seofox.ir/link-farm-and-content-farm/https://seofox.ir/keyword-density/https://seofox.ir/search-engine/https://seofox.ir/backlink/https://seofox.ir/analyze-seo/https://seofox.ir/page-rank/https://seofox.ir/proposal/https://seofox.ir/white-hat-seo/https://seofox.ir/ugc-keyword-research/https://seofox.ir/backlink-definition/https://seofox.ir/seo-company/https://seofox.ir/googlebot/https://seofox.ir/page-speed/https://seofox.ir/broken-link/https://seofox.ir/seo-techniques/https://seofox.ir/meta-description/https://seofox.ir/ctr/https://seofox.ir/sandbox/https://seofox.ir/anchor-text/https://seofox.ir/rankbrain/https://seofox.ir/long-tail-keywords/https://seofox.ir/google-panda/https://seofox.ir/page-title/https://seofox.ir/content-marketing/https://seofox.ir/order/https://seofox.ir/redirect/https://seofox.ir/technical-seo/https://seofox.ir/on-page-seo/https://seofox.ir/seo-tools/https://seofox.ir/branding/https://seofox.ir/link-building/https://seofox.ir/off-page-seo/https://seofox.ir/seo-consultation/https://seofox.ir/on-page-seo/https://seofox.ir/local-seo/https://seofox.ir/wordpress-seo-plugin/https://seofox.ir/seo-services-prices/https://seofox.ir/google-seo-book/https://seofox.ir/start-seo/https://seofox.ir/seo-periodic-table/https://seofox.ir/content-vs-link/https://seofox.ir/social-marketing/https://seofox.ir/serpmojo/https://seofox.ir/spam-links-disavow/https://seofox.ir/google-penalty-removal/https://seofox.ir/h1/https://seofox.ir/google-penguin/https://seofox.ir/seo-articels/https://seofox.ir/what-is-google-dance/https://seofox.ir/bing/https://seofox.ir/rules-of-link-building/https://seofox.ir/seo-news/https://seofox.ir/what-is-domain-authority-and-page-authority/https://seofox.ir/template/https://seofox.ir/what-is-content-marketing/https://seofox.ir/host/https://seofox.ir/add-site-in-google/https://seofox.ir/domain-seo/https://seofox.ir/nofollow-links/https://seofox.ir/seo-portfolio/https://seofox.ir/contact-us/https://seofox.ir/faq/https://seofox.ir/privacy-policy/https://seofox.ir/terms/https://seofox.ir/about-us/https://seofox.ir/category/google-algorithms/https://seofox.ir/category/backlink/https://seofox.ir/category/blog/https://seofox.ir/category/services/https://seofox.ir/category/seo/https://seofox.ir/category/seo-content/https://seofox.ir/category/seo-resources/https://seofox.ir/category/search-engine/https://seofox.ir/seo-training/https://seofox.ir/seo-services/https://seofox.ir/faq/https://seofox.ir/contact-us/https://seofox.ir/about-us/https://seofox.ir/privacy-policy/https://seofox.ir/terms/ ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ????? SEO - ????? ???? ????? ????? ????? ??? ????? ???? SEO ????? ????? ????? ???? ????? ????? ??? ???? ???? ??????? Search Engine Optimization ??? ????? ??????????? ?? ????? ?????????? ????? ????? ?? ???? ???SEO
seofox · 69 weeks ago
Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir
seofox · 68 weeks and 1 day ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale pug puppies indiana Amazing! This blog looks just like my old one! It's on a completely different subject but it has pretty much the same layout and design. Wonderful choice of colors!
rahimhh21 · 38 weeks and 5 days ago
Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good. BAM University
seomind · 29 weeks and 5 days ago
Three are usually cheap Ralph Lauren available for sale each and every time you wish to buy. BAM University
seomind · 29 weeks and 5 days ago
I curious more interest in some of them hope you will give more information on this topics in your next articles. BAM University
seomind · 29 weeks and 5 days ago
I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details. BAM University
seomind · 29 weeks and 5 days ago
I think I have never seen such blogs ever before that has complete things with all details which I want. So kindly update this ever for us. BAM University
seomind · 29 weeks and 5 days ago
A great website with interesting and unique material what else would you need. BAM University
seomind · 29 weeks and 5 days ago
Thank you so much for ding the impressive job here, everyone will surely like your post. BAM University
seomind · 29 weeks and 5 days ago
Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. BAM University
seomind · 29 weeks and 5 days ago
Thank you for the post. I will definitely comeback. BAM University
seomind · 29 weeks and 5 days ago
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck BAM University
seomind · 29 weeks and 5 days ago
themeoff.ir
themeoff · 26 weeks and 5 days ago
We offer engine diagnostics and full repair services, transmission repair and service, brake repair and service, electrical system repair, suspension service, reefer units, farm and city equipment repair, and more. mobile truck engine repair
bahamianiri · 16 weeks ago
The material and aggregation is excellent and telltale as comfortably. Unicity Reviews
seomind · 13 weeks and 3 days ago
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. Unicity Reviews
seomind · 13 weeks and 3 days ago
Your music is amazing. You have some very talented artists. I wish you the best of success. Tatiana James Review
seomind · 13 weeks and 3 days ago
Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. Unicity Reviews
seomind · 13 weeks and 3 days ago
Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Printify Review
seomind · 13 weeks and 3 days ago
Your work is very good and I appreciate you and hopping for some more informative posts Usborne Books Reviews
seomind · 13 weeks and 3 days ago
Going to graduate school was a positive decision for me. I enjoyed the coursework, the presentations, the fellow students, and the professors. And since my company reimbursed 100% of the tuition, the only cost that I had to pay on my own was for books and supplies. Otherwise, I received a free master’s degree. All that I had to invest was my time. Usborne Books Reviews
seomind · 13 weeks and 3 days ago
Your work is very good and I appreciate you and hopping for some more informative posts Printify Review
seomind · 13 weeks and 3 days ago
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog Engine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it. Usborne Books Reviews
seomind · 13 weeks and 3 days ago
If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries Printify Review
seomind · 13 weeks and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: