Sebastien Andre wrote: > Bob Proulx wrote: > > I have added a tip to the date faq entry. It hasn't been an faq but > > but seemed useful just the same. > > For those interested by an implementation of this technique, > > a shell script is available at > http://scriptutils.svn.sourceforge.net/viewvc/scriptutils/sandbox/datediff.sh?revision=58 > > Example: duration until Christmas > $ ./datediff.sh -p 2010-12-25 > 6 months 2 days 20 hours 13 minutes 34.0032 seconds
Ah... Very good. Although this link view may be more interesting to the casually browsing user. http://scriptutils.svn.sourceforge.net/viewvc/scriptutils/sandbox/datediff.sh?view=log Bob
