Added my implementation of unixtime.
This implementation has very few reasonable code (call atol() and ctime()), but has some nice standard program stuff (parse options, print help, ...).
This commit is contained in:
25
unixtime.1
Normal file
25
unixtime.1
Normal file
@@ -0,0 +1,25 @@
|
||||
.\" unixtime.1
|
||||
.TH UNIXTIME 1 "Feb. 2008" "heinzel"
|
||||
|
||||
.SH NAME
|
||||
unixtime \- converts a unix timestamp into a human readable date
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B unixtime [-h, --help] [-V, --version] <TIMESTAMP>
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBunixtime\fP is similar to the standard c library function \fBctime()\fP
|
||||
|
||||
.SH OPTIONS
|
||||
An integer <TIMESTAMP>, which is a number of seconds since the Epoch.
|
||||
|
||||
.SH "BUGS"
|
||||
Since I have no real understanding of C, I am sure, there are.
|
||||
|
||||
.SH "AUTHOR"
|
||||
heinzel <heinzel@heinzelwelt.de>
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR time (2),
|
||||
.BR ctime (3)
|
||||
|
||||
Reference in New Issue
Block a user