The bc command can use trig functions if the -l switch is specified. For
example,
echo 's(1)' | bc -l
outputs the sine of 1 radian which is .84147...
Is there any way to do this with the math command which is a wrapper around
bc?
Perhaps the reason this doesn't work is that there isn't a way to pass the
-l switch through to bc.

-- 
R. Mark Volkmann
Object Computing, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to