[EMAIL PROTECTED] wrote: > Hi, > > I wrote a short script for simple text file processing in bash > (using "<" for input redirection and "read"). I know, there are
<snip> > Now what to do? Are there some functions, which would implement basic > math with real numbers in bash (add, substract, multiply, divide > and round would be enough)? > The idea of writing them myself really scares me... > > Jarry > Lots of way to do math from command line. Check out bc dc even python (echo "print (10E3-123)/123" | python -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list