Using bc in bash script

Kirk Strauser kirk at strauser.com
Thu Aug 14 11:38:47 PDT 2003


At 2003-08-14T17:58:01Z, Stephen Hilton <nospam at hiltonbsd.com> writes:

> I still am wondering why the date command does not have a format string
> for seconds (down to 100th's) like "+%ss" and also why the time command
> stops at 100th's when other programs resolve time to 5 or 6 decimal places?

My guess is that its margin of error, given the nondeterministic influence
of a few forks etc., is probably too big to give a more precise answer.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030814/1d8f662d/attachment.bin


More information about the freebsd-questions mailing list