Re: Shut down or leave on?
On Tue, Sep 04, 2007 at 10:56:03PM -0600, Bob Proulx wrote:
> G.W. Haywood wrote: > > ~$> echo "24 * 365.25" | bc > > 8766.00 > > > > but I only did this to illustrate the more compact use of some system > > tools, in this case 'echo', 'bc' and a pipe. :) > > While I am a long time bc user and won't knock it I might still > suggest alternatives just because... If we stick to integers then the > shell does this quite well. > > echo $(( 24 * 365 )) > 8760
I never think of doing that. But so handy. I learn something new every
day here. If only I didn't forget them afterwards...
--
richard
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Sep 5 07:01:35 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 03:51:48 EDT
|