* [Comm] readdir
@ 2005-09-13 6:50 Andrey A. Yefremov
2005-09-13 7:18 ` Afanasov Dmitry
0 siblings, 1 reply; 2+ messages in thread
From: Andrey A. Yefremov @ 2005-09-13 6:50 UTC (permalink / raw)
To: community
Здравствуйте, community.
while (defined($_ = readdir(DIR)))
{
blah-blah-blah;
}
как исключить "." и ".." ?
--
С уважением,
Andrey A. Yefremov mailto:alt@techno.dn.ua
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] readdir
2005-09-13 6:50 [Comm] readdir Andrey A. Yefremov
@ 2005-09-13 7:18 ` Afanasov Dmitry
0 siblings, 0 replies; 2+ messages in thread
From: Afanasov Dmitry @ 2005-09-13 7:18 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
On Tue, Sep 13, 2005 at 09:50:43AM +0300, Andrey A. Yefremov wrote:
> Здравствуйте, community.
>
> while (defined($_ = readdir(DIR)))
> {
next if /^\.{1,2}$/;
> blah-blah-blah;
> }
>
> как исключить "." и ".." ?
--
С уважением,
Афанасов Дмитрий
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-13 7:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-13 6:50 [Comm] readdir Andrey A. Yefremov
2005-09-13 7:18 ` Afanasov Dmitry
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