From: Antonio <obidos@mail.ru>
To: <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] date +%s
Date: Tue Oct 2 15:54:02 2001
Message-ID: <Pine.LNX.4.32.0110021559000.906-100000@tony.localnet> (raw)
In-Reply-To: <Pine.LNX.4.32.0110021551450.906-100000@tony.localnet>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> первая колонка в логе сквид содержит аналог date +%s - те
> время в секундах от 01/01/1970 дак вот его и нужно обратно
> преобразовать в dd/mm/yyyy ну или хотябы в mmyyyy
date -d '1970-01-01 <число секунд> sec' +%D # see info date
^
|--------|
сорри, в предыдущем письме, конечно, потерялся плюсик. 8-(
делает то, что надо. Вопрос того, как в нужные места ком. строки
вызова запихнуть нужные параметры, оставляется читателям. ;-)))
(Пока сам толком не углублялся, возможно, путем awk). Будем
думать.
- --
Best regards,
Tony. mailto:obidos@mail.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7uayB2gaLrWRbr5URAh9vAJ4yzbKJcOVVQlym6Wc4jsUPy4c4ZACcCi6K
IgdqcrkxgvrH3sCv72BkqvQ=
=WUGU
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2001-10-02 15:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-02 13:39 Maxim Mitrofanov
2001-10-02 13:50 ` Peter V. Saveliev
2001-10-02 15:08 ` Maxim Mitrofanov
2001-10-02 15:51 ` Antonio
2001-10-02 15:54 ` Antonio [this message]
2001-10-02 16:44 ` Peter V. Saveliev
2001-10-02 22:49 ` HB
2001-10-03 9:30 ` Antonio
2001-10-03 13:17 ` HB
2001-10-02 16:04 ` Peter V. Saveliev
2001-10-03 7:24 ` Re[2]: " Russu V.F.
2001-10-02 16:20 ` Igor Homyakov
2001-10-03 6:18 ` Maxim Mitrofanov
2001-10-03 2:33 ` Oleg S. Gints
2001-10-03 7:16 ` Re[2]: " Russu V.F.
2001-10-02 21:06 ` HB
2001-10-03 7:42 ` Re[2]: " Russu V.F.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.32.0110021559000.906-100000@tony.localnet \
--to=obidos@mail.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git