|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Boris Veytsman 2:5020/400 08 Feb 2001 06:15:40 To : All Subject : Re: Re[2]: фазы Луны на консоли -------------------------------------------------------------------------------- "Terehov Gennady" <mi_8@north.parma.ru> writes: > Имакс... Тоже мысль, но громоздко это как-то... > Я-то хотел на веб-страничку эту информацию выводить. > Мне бы что-то типа date или cal чтобы из перлового скрипта пускать > можно было. Хотя тоже пригодится, для себя посмотреть. тогда тебе нужна программа под названием pom В Дебиане она входит в пакет bsdgames. Вот пример работы: boris@bilbo:~$ pom The Moon is Full boris@bilbo:~$ pom 2001020100 Thu 2001 Feb 1 00:00:00 (EST): The Moon was Waxing Crescent (46% of Full) POM(6) System Reference Manual POM(6) NAME pom - display the phase of the moon SYNOPSIS pom [[[[[[cc]yy]mm]dd]HH]] DESCRIPTION The pom utility displays the current phase of the moon. Useful for seЅ lecting software completion target dates and predicting managerial behavЅ ior. [[[[[cc]yy]mm]dd]HH] Display the phase of the moon for a given time. The format is similar to the canonical representaЅ tion used by date(1). SEE ALSO date(1) AUTHOR pom was written by Keith E. Brandt. BUGS Times must be within range of the UNIX epoch. This program does not allow for the difference between the TDT and UTC timescales (about one minute at the time of writing). ACKNOWLEDGEMENTS This program is based on algorithms from Practical Astronomy with Your Calculator, Third Edition by Peter Duffett-Smith <pjds@mrao.cam.ac.uk>. BSD Experimental January 9, 1999 1 -- Good luck -Boris http://www.plmsc.psu.edu/~boris/ --- ifmail v.2.15dev5 * Origin: The Pennsylvania State University (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/9389127c1043.html, оценка из 5, голосов 10
|