Bug 25526

Summary: Possible inclusion into the base system: mktime(1)
Product: Base System Reporter: Kim Scarborough <sluggo>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 1.0-RELEASE   
Hardware: Any   
OS: Any   

Description Kim Scarborough 2001-03-04 18:10:01 UTC
I've never seen anything before that I thought should be included in the base system, but this is a pretty handy, small utility that I think fills a very common need: mktime(1). It performs simple arithmetic on the date similar to mktime(3), crucial for all kinds of scheduled tasks. It's public domain. It lives at <http://members.home.net/john.r.macmillan/technogeek/source/mktime/>.
Comment 1 alex 2001-03-04 18:58:49 UTC
Thus spake sluggo@unknown.nu (sluggo@unknown.nu):

> I've never seen anything before that I thought should be included in the base system, but this is a pretty handy, small utility that I think fills a very common need: mktime(1). It performs simple arithmetic on the date similar to mktime(3), crucial for all kinds of scheduled tasks. It's public domain. It lives at <http://members.home.net/john.r.macmillan/technogeek/source/mktime/>.

this can be done with date(1)'s -v option, you know?

Alex
Comment 2 Kim Scarborough 2001-03-04 19:31:08 UTC
> this can be done with date(1)'s -v option, you know?

Oops. Never mind...

-------------------------------------------------------------------------------
Kim Scarborough                                      http://www.unknown.nu/kim/
-------------------------------------------------------------------------------
"Tragedy is when I cut my finger. Comedy is when YOU fall in an open manhole
and die."
                                                                   - Mel Brooks
-------------------------------------------------------------------------------
Comment 3 alex freebsd_committer freebsd_triage 2001-03-04 20:55:47 UTC
State Changed
From-To: open->closed

Submitter agrees, that this is already possible with our date(1). (-v)