A question about the date Function
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Thu Sep 17 14:17:34 UTC 2009
Martin McCormick <martin at dc.cis.okstate.edu> writes:
> Thanks to those who answered my question. I have discovered in
> the process one big difference between the date function in
> freebsd and Linux. Under freebsd, date -r 1234567890 or whatever
> value you need converts that unsigned long in to the normal date
> output set to that reference value. IN Linux, -r should be
> followed by a file name and it gives you the formatted date
> as read from the mtime of that reference file.
The *only* standardized option for date is -u...
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
More information about the freebsd-questions
mailing list