LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   using bc to subtract hexdemical (https://www.linuxquestions.org/questions/linux-software-2/using-bc-to-subtract-hexdemical-275077/)

schurt 01-07-2005 12:53 PM

using bc to subtract hexdemical
 
Heres my code thus far :
Code:

test=$(echo "ibase=16; 403a8000-403a9000" | bc -l)
This outputs the following error :

(standard_in) 1: parse error
(standard_in) 1: parse error

What am i doing wrong? :(

schurt 01-07-2005 01:18 PM

figured it out needs to be capitol letters


All times are GMT -5. The time now is 11:39 AM.