From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: index.php
Date: Wed Sep 26 02:53:12 2001
Message-ID: <20010926031258.H2344@localhost.localdomain> (raw)
In-Reply-To: <20010925190809.68c14497.michael@michael.rsuh.ru>; from michael@michael.rsuh.ru on Tue, Sep 25, 2001 at 07:08:09PM +0400
Hello Michael,
On Tue, Sep 25, 2001 at 07:08:09PM +0400, Michael Bykov wrote:
>
> Поскажите grep чтобы найти все папки без файла index в данном
> (/www/htdocs) дереве?
Зачем grep?
IFS='
'
for d in `find /www/htdocs -type d -print`; do
[ "`echo $d/index.*`" = "$d/index.*" ] && echo $d
done
При стандартном значении опции nullglob в bash должно работать.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
Without love intelligence is dangerous;
without intelligence love is not enough.
-- Ashley Montagu
prev parent reply other threads:[~2001-09-26 2:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-25 19:06 [mdk-re] index.php Michael Bykov
2001-09-25 21:21 ` HB
2001-09-26 2:53 ` Mikhail Zabaluev [this message]
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=20010926031258.H2344@localhost.localdomain \
--to=mhz@alt-linux.org \
--cc=mandrake-russian@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