Re: Proposal: Optional libsafe add-on?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Jan 2004, Johannes Erdfelt wrote:

> > How else do you do date math in your shell scripts?
> 
> farley:~% echo $((1+2))
> 3
> farley:~% echo $((21/7))
> 3
> 
> I've never used it personally either. *shrug*
> 
> Not to say I think it should be dropped or kept either way, just
> pointing out you can do math in shells :)

I didn't say math, I said "date math". They're two *VERY* different
things. Calculating a date is a non-trivial thing unless you're a savant.

-Chuck

-- 
http://www.quantumlinux.com 
 Quantum Linux Laboratories, LLC.
 ACCELERATING Business with Open Technology

 "The measure of the restoration lies in the extent to which we apply 
  social values more noble than mere monetary profit." - FDR




[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux