Hi,
1. I am not sure that hit a bug or no, but I found the following strange behavior using "date (GNU sh-utils) 2.0    Written by David MacKenzie" on a RH6.1 box with glibc-2.1.2-11:
 
[root@yaas /root]# date -d "`date +%s` sec ago"
Thu Jan  1 03:30:00 IRT 1970
 
which as the man page says, I expected to receive "Thu Jan  1 00:00:00 IRT 1970" instead! What do you think about it?!
 
2. Proffer: Two another very beneficial GNU extensions on % formatting options can be somethings which display
"days since Jan 1, 1970" and "seconds since begin of the current year".
 
Regards,
________________________________________________
Majid Tajamolian
JahanVasel Co.    http://www.vasel.com
________________________________________________
"The worst of people is person who others
 cherish him because they dread his hurt!"
           The last prophet, Moham'mad (PBUH)
________________________________________________
BEGIN:VCARD
VERSION:2.1
N:Tajamolian;Majid
FN:Majid Tajamolian
NICKNAME:����
ORG:JahanVasel Co.
TITLE:CEO
NOTE:Future of the software world belongs to the Open Source Upheaval !
TEL;WORK;VOICE:98-351-7247641
TEL;WORK;FAX:98-351-7247641
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;No 384,=0D=0ASouthern Sadooghi Blvd.;Yazd;Yazd;;Iran
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:No 384,=0D=0ASouthern Sadooghi Blvd.=0D=0AYazd, Yazd=0D=0AIran
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;No 12,=0D=0AShaghayegh Impasse,=0D=0A17 Shahrivar Alley,=0D=0AEnd of Chamr=
an Ave.=0D=0A=0D=0A=0D=0A;Yazd;Yazd;;Iran
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:No 12,=0D=0AShaghayegh Impasse,=0D=0A17 Shahrivar Alley,=0D=0AEnd of Chamran=
 Ave.=0D=0A=0D=0A=0D=0A=0D=0AYazd, Yazd=0D=0AIran
URL:
URL:http://www.vasel.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20010319T075127Z
END:VCARD

Reply via email to