From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <433908E7.4090205@lsi.bas-net.by> Date: Tue, 27 Sep 2005 11:55:03 +0300 From: spider User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru, en-us MIME-Version: 1.0 To: ALT Linux Community Subject: Re: [Comm] find ... -exec =?KOI8-R?Q?=C9_=D7=D9=C8=CF=C4=CE=D9?= =?KOI8-R?Q?=C5_=D0=CF=D4=CF=CB=C9?= References: <20050926225021.GC2331@basalt.office.altlinux.org> In-Reply-To: <20050926225021.GC2331@basalt.office.altlinux.org> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 08:54:52 -0000 Archived-At: List-Archive: List-Post: Dmitry V. Levin пишет: >Пожалуйста, прочтите документацию, там описан ваш случай: > >$ man find |colcrt |sed -ne '/^EXAMPLES/,/^E/ p' |sed -ne '/{}/,/\.$/ p' > find . -type f -exec file '{}' \; > > Runs `file' on every file in or below the current directory. Notice > that the braces are enclosed in single quote marks to protect them from > interpretation as shell script punctuation. The semicolon is simi- > larly protected by the use of a backslash, though ';' could have been > used in that case also. > >P.S. В старых версиях пакета findutils этого примера нет. > > $ man find | col -b | grep -i runs $ Наверное у меня старая версия. $ rpm -qa | grep findut findutils-4.1.20-alt2 $