Re: Decode unixtime



On Fri, Jan 15, 2010 at 02:46:07AM EST, Teemu Likonen wrote:
On 2010-01-15 05:20 (UTC), Chris Jackson wrote:

It's not well documented, but: date -d, with an '@' before it:

chrisj@hercule$ date -d '@1257624539'
Sat Nov 7 20:08:59 GMT 2009

It's documented quite well in info pages, though:

$ info coreutils "date inv"
$ info coreutils seconds

(Or from Emacs.)

But I guess nobody - except Emacs users - read info pages these days,

And they don't read the man pages either, since the date manual states:

| The full documentation for date is maintained as a Texinfo manual. If the info
| and date programs are properly installed at your site, the command
|
| info date
|
| should give you access to the complete manual.

I don't use Emacs, but for anything longer than a couple of screenfuls,
I find the Texinfo manuals have the edge over the man pages, although it
takes a while to get used to finding your way around.

Besides, I hear that due to licensing restrictions, some of the info
pages are not available from the debian repos. As a result, if you don't
mind tainting your debian system, you need to download them from the GNU
website and install them manually, which is not always straightforward.

I don't know if it still ships with more current versions of debian but
there is a nice replacement to the 'info' browser named 'pinfo' that
provides color highlighting and more user-friendly navigation via hjkl +
<Enter>... hmm, more user-friendly for vimmers, that is.. behaves a bit
more like a text-mode web browser.

so in practice it's not very well documented. :-)

Well, that's why we have mailing lists.. so we can document the doc :-)

CJ


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Man vs. Info: documenting the software
    ... How do I make a hard copy of the documentation for the GNU Libc ... The Info manuals are much closer to a “single document” ideal ... S> As long as a large number of packages have man pages, ...
    (comp.unix.shell)
  • Re: Hyperref queries
    ... TeX documentation really does need to be re-written for people who are ... Indeed - I can work with car maintenance manuals, ... Another difference with TeX is that it's not just a toolbox - it's more ...
    (comp.text.tex)
  • Re: Man vs. Info: documenting the software
    ... IS> How do I make a hard copy of the documentation for the GNU Libc ... S> And again, I already addressed this: Manuals like that, sure, make ... IS> tutorials as well. ...
    (comp.unix.shell)
  • Re: Man vs. Info: documenting the software
    ... S> search with a single search command is more useful to me. ... And again, I already addressed this: Manuals like that, sure, make them ... And this is why the GNU attitude is harmful; ... for which the documentation is in an awful state. ...
    (comp.unix.shell)
  • Re: DTV antennas?
    ... of the customer base has some form of written or on-screen learning or ... How about they can't find the documentation to read? ... It's not easy, rough reading, totally ... Manuals that are full of illustration and examples work ...
    (sci.electronics.design)