From: Sergey Stepanov <dlagovna@mail.ru> To: community@altlinux.ru Subject: Re: [Comm] Глючит *.zip в Master 2.4 Date: Mon, 01 Aug 2005 16:24:38 +0400 Message-ID: <E1DzZLS-0009ua-00.dlagovna-mail-ru@f41.mail.ru> (raw) В сообщении от 29 Июль 2005 14:43 Alexey Rusakov написал(a): > Sergey Stepanov wrote: > >В общей сложности, у меня ушло ДВА ДНЯ на этот мозготрах. А в результате > >я сделал архив, распаковал его под Windows, дал команду DIR с опцией > > прохода подкаталогов и направив вывод в файл. Потом на PHP быстренько > > написал скрипт, > > Сильно, сильно. А я вот PHP не знаю, представляете? Пришлось то же самое > делать на шелле, почему-то на это даже по первости времени немного ушло. > А PHP почему-то вызывает глухое раздражение. Странно, почти классический C-синтаксис только без типизации переменных. Не забываем перед каждой переменной значек $ ставить и все. > Но дело не в этом. Я не очень понимаю, ЗАЧЕМ было заниматься > мозготрахом, если можно было просто взять PHP и быстренько написать > ровно один скрипт, обходящий всё дерево подкаталогов. Вы можете > объяснить? Заметьте, я про Linux вообще ни слова не говорю. У вас есть > PHP - зачем усложнять себе жизнь? Затем, что я идиот. А идиотам тоже нужно задачи выполнять в определенные сроки. Я точно знаю, что без проблем напишу PHP скрипт, который линейно чухает текстовый файл с и выдергивает из него нужные имена файлов. И я совершенно не уверен, что у меня без проблемм пройдет написание программы с рекурсией. Я не настолько крутой программер, чтобы бросаться грудью на амбразуру и писать рекурсивный обход каталогов. Хотя бы потому, что точно не знаю, хватит ли мне глубины рекурсии в PHP. Со всяческими пожеланиями, Сергей. http://xi.net.ru
next reply other threads:[~2005-08-01 12:24 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-08-01 12:24 Sergey Stepanov [this message] 2005-08-01 13:15 ` Michael Isachenkov
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=E1DzZLS-0009ua-00.dlagovna-mail-ru@f41.mail.ru \ --to=dlagovna@mail.ru \ --cc=community@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