You can make you og 'bc' command to do the arithmatic operations in shell script.
Following script illustrates a sample implimentation
a 1.2
b 3.1
x=(echo $a +$b|bc)
echo $x
Subscribe to:
Post Comments (Atom)
Hey, my name is Viki and welcome to the "VIIKIPEDIA"
No comments:
Post a Comment