[Lvlug] Linux Temperature revisited...
Linc Fessenden
linc@thelinuxlink.net
Sat, 11 May 2002 15:45:32 -0400 (EDT)
On Sat, 11 May 2002, Mark wrote:
> The initial problem I had was that the 'date' program works on Linux but it
> obviously did not output the same info that the script was looking for. So I
> wrote my own date conversion program in C and I use that in the same spot of
> your script to give it what it wants. The second problem that I got stuck on
> was 'bc'. I was really surprised that Linux doesn't have something like that
> because I seem to remember reading about doing math at the command line. But,
> then again, maybe I didn't install it because I thought I wouldn't need it.
> So I again turned to some C code and do the math in a little program.
>
> tput is available on the Slack 8 distro I am using but the params are just
> a little different.
>
> After all that I am able to build the graphs from the templog file. I am now
> working on writing the whole thing in C and calling ploticus to do the work.
> Don't know if I will get too far. It is just a small diversion and I have way
> too many projects already.
Awsome! By the way,
sh-2.05$ echo 4*5 | bc
20
sh-2.05$ uname -a
Linux home 2.4.5 #1 Sun Mar 3 04:20:56 EST 2002 i686 unknown
sh-2.05$
bc works just fine on my slack 8 box as evidenced above.. What probs were
you having with it? Also, congrats on finding all the changes! I didn't
think anyone would get them all.. Then again, you may have been the only
one who even tried!
--
-Linc Fessenden
In the Beginning there was nothing, which exploded - Yeah right...