bashscr:calculate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:bashscr:calculate [05.10.2010 14:13] – eanderalx | bashscr:calculate [23.03.2013 18:24] (current) – Page moved from blog:bashscr:calculate to bashscr:calculate eanderalx | ||
---|---|---|---|
Line 36: | Line 36: | ||
</ | </ | ||
* The leading zero is lost | * The leading zero is lost | ||
+ | * You can search and replace using " | ||
+ | <code bash> | ||
+ | echo "scale = 3; 2.5 / 3.1 " | bc -l | sed -r ' | ||
+ | 0.806 | ||
+ | </ |
bashscr/calculate.txt · Last modified: 23.03.2013 18:24 by eanderalx