brain teaser or home work? :p Send me the file 7aj 2008/7/15 Abdallah <[EMAIL PROTECTED]>: > > Salam Alaikum > > I got around the 2038 date limit but running the command on a 64bit system. > > However, I can not get the results out. It is a telnet account to a > test HP server. > > > Ok. So I need someone with access to a 64bit box. I need access for > 5 minutes. Or you could run the command on 2 files for me and send me > the results. > > Please contact me off list if you are able to do this for me. > > > :) > > Wassalam Alaikum wr wb > > Abdalla > > By the way, if anyone would like to have access to HP high end servers > then sign up for a shell access account here: > > http://www.testdrive.hp.com/accounts/register.shtml > > Here are the systems they gave me access to: > > Hewlett Packard OS Test Drives: > > Test Drive System Type > How to access > HP OpenVMS 8.3 Integrity rx2600 [EMAIL PROTECTED] > telnet to td183.testdrive.hp.com > HP OpenVMS 8.3 Integrity rx2600 [EMAIL PROTECTED] > telnet to td184.testdrive.hp.com > HP-UX 11i 11.11 rp2470 [EMAIL PROTECTED] 8700 PA-RISC > telnet to td192.testdrive.hp.com > HP-UX 11i v2 Integrity rx2600 [EMAIL PROTECTED] > telnet to td176.testdrive.hp.com > HP-UX 11i v3 PA-RISC rp3410 telnet to > td191.testdrive.hp.com > HP-UX 11i v3 Integrity bl860c [EMAIL PROTECTED] > telnet to td194.testdrive.hp.com > HP-UX 11i v3 Integrity rx3600 [EMAIL PROTECTED] > telnet to td193.testdrive.hp.com > > Linux Test Drives: > > Test Drive System Type > How to access > Debian GNU/Linux 4.0r0 on Intel ProLiant DL140 [EMAIL PROTECTED](Xeon) > telnet to td140.testdrive.hp.com > Debian GNU/Linux 4.0r0 on Intel Integrity rx2600 [EMAIL PROTECTED] > telnet to td156.testdrive.hp.com > Debian GNU/Linux 4.0r0 on AMD ProLiant DL385 2.6GHz(Opteron) > telnet to td157.testdrive.hp.com > Mandriva Corporate Server 4.0 ProLiant DL380 2p/4c 3.6GHz > telnet to td153.testdrive.hp.com > Oracle Enterprise Linux 4 ProLiant DL145 [EMAIL PROTECTED] > telnet to > td189.testdrive.hp.com > Red Hat Ent Linux 5 on Intel ProLiant bl460c [EMAIL PROTECTED](Xeon) > telnet to td163.testdrive.hp.com > Red Hat Ent Linux 5 on AMD ProLiant bl465c [EMAIL PROTECTED](Opt) > telnet to td165.testdrive.hp.com > Red Hat Ent Linux 5 on Intel ProLiant DL380 4p/8c 2.4GHz telnet > to td161.testdrive.hp.com > Red Hat Ent Linux 5 on Intel ProLiant DL560 [EMAIL PROTECTED](Xeon) > telnet to td185.testdrive.hp.com > Red Hat Ent Linux 5 on Intel Integrity rx3600 [EMAIL PROTECTED] > telnet to td188.testdrive.hp.com > Red Hat Ent Linux 5 on Intel Integrity rx8620 [EMAIL PROTECTED] > telnet to td178.testdrive.hp.com > Red Hat Ent Linux 5 on AMD ProLiant DL145 2.4GHz(Opteron) > telnet to td159.testdrive.hp.com > SuSE Linux Ent Svr 10 on Intel ProLiant bl460c [EMAIL PROTECTED](Xeon) > telnet to td165.testdrive.hp.com > SuSE Linux Ent Svr 10 on AMD ProLiant bl465c [EMAIL PROTECTED](Opt) > telnet to td166.testdrive.hp.com > SuSE Linux Ent Svr 10 on Intel ProLiant DL140 [EMAIL PROTECTED](Xeon) > telnet to td186.testdrive.hp.com > SuSE Linux Ent Svr 10 on AMD ProLiant DL145 2.2GHz(Opteron) > telnet to td190.testdrive.hp.com > SuSE Linux Ent Svr 10 on AMD ProLiant DL585 2.2GHz(Opteron) > telnet to td179.testdrive.hp.com > SuSE Linux Ent Svr 10 on Intel Integrity rx2600 [EMAIL PROTECTED] GHz > telnet to td187.testdrive.hp.com > > BSD Test Drives: > > Test Drive System Type > How to access > FreeBSD 6.2 on Intel Integrity rx2600 [EMAIL PROTECTED] > telnet to td150.testdrive.hp.com > FreeBSD 6.2 on Intel ProLiant DL360 [EMAIL PROTECTED] (P3) > telnet to td152.testdrive.hp.com > > Windows TestDrives: > > Test Drive System Type > How to access > Microsoft Ent Svr 2003 on Intel Integrity rx2600 [EMAIL PROTECTED] rdp > to td197.testdrive.hp.com > Microsoft Ent Svr 2003 on AMD ProLiant DL145 [EMAIL PROTECTED] rdp > to td198.testdrive.hp.com > MicroSoft Ent Svr 2003 on Intel ProLiant DL140 [EMAIL PROTECTED] rdp > to td199.testdrive.hp.com > > Application Test Drives: > > Test Drive System Type > How to access > Oracle Rbd on OpenVMS Integrity rx1620 [EMAIL PROTECTED] > telnet to td183.testdrive.hp.com > > > > > > On Tue, Jul 15, 2008 at 1:22 PM, Abdallah <[EMAIL PROTECTED]> wrote: >> How would you deal with the 2036 problem? >> >> Years beyond 2036 are giving >> >> date: invalid date `8/31/2088' >> date: invalid date `4/30/2046' >> >> Abdallah >> >> >> On Tue, Jul 15, 2008 at 12:51 PM, Yaman Saqqa <[EMAIL PROTECTED]> wrote: >>> for d in `cat /tmp/t`; do date +%Y/%m/%d -d $d; done >>> >>> On Tue, Jul 15, 2008 at 7:34 PM, Abdallah <[EMAIL PROTECTED]> wrote: >>>> >>>> Salam Alaikum Wr Wb >>>> >>>> I have a brain teaser of the shell utilities type for you guys. :) >>>> >>>> A file foo.txt has a list of date strings in this format: >>>> >>>> 8/31/2011 >>>> 1/7/2020 >>>> 1/31/2013 >>>> 11/4/2010 >>>> >>>> and so one. >>>> >>>> How would one go about flipping them into yyyy/mm/dd format in bar.txt? >>>> >>>> as in : >>>> >>>> 2011/08/31 >>>> 2020/01/07 >>>> 2013/01/31 >>>> 2010/11/04 >>>> >>>> Notice the single digit month or day must become 2 digits. From 8 to 08 >>>> >>>> >>>> "compute regular expressions in his mind at the speed of lighting" Huh! >>>> >>>> >>>> :D >>>> >>>> Wasslam Alaikum wr wb >>>> >>>> Abdallah >>>> >>>> >>>> ps. The speed of light = 299 792 458 m / s So how many meters do you >>>> need? >>>> >>>> >>> >>> >>> >>> -- >>> abulyomon >>> >>> www.KiLLTHeUPLiNK.com >>> >> >>> >> > > > >
--~--~---------~--~----~------------~-------~--~----~ ### Jordan Linux Users Group ### http://Jolug.org/ http://groups.google.com/group/Jolug ### Ubuntu Jordan LoCo Team ### https://wiki.ubuntu.com/JordanTeam http://lists.ubuntu.com/ubuntu-jo ### Ojuba Linux ### http://ojuba.org/ ### Jordan PHP ### http://groups.google.com/group/JoPHP -~----------~----~----~----~------~----~------~--~---

