From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 27 Sep 2005 02:50:21 +0400 From: "Dmitry V. Levin" To: ALT Linux general discussion list Subject: Re: [Comm] find ... -exec =?koi8-r?B?ySDX?= =?koi8-r?B?2cjPxM7ZxSDQz9TPy8k=?= Message-ID: <20050926225021.GC2331@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline In-Reply-To: <4337E64E.6040008@lsi.bas-net.by> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 Cc: 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: Mon, 26 Sep 2005 22:50:22 -0000 Archived-At: List-Archive: List-Post: --NKoe5XOeduwbEQHU Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 26, 2005 at 03:15:10PM +0300, spider wrote: [...] > =D3=D4=D2=CF=CB=C1 >=20 > $ find -name 'foo-*.ppm' -exec ppmtopgm {} '>' {}.pgm \; >=20 > =D7=CD=C5=D3=D4=CF =D4=CF=C7=CF, =DE=D4=CF=C2=D9 =CF=C2=D2=C1=C2=CF=D4=C1= =D4=D8 =D7=D3=C5 =C6=C1=CA=CC=D9 =CB=C1=D4=C1=CC=CF=C7=C1 > =D0=CF=D2=CF=D6=C4=C1=C5=D4 =D0=D5=D3=D4=CF=CA =C6=C1=CA=CC {}.pgm. >=20 > =EB=C1=CB =D7=D3=C5=D4=C1=CB=C9 =D0=D2=C1=D7=C9=CC=D8=CE=CF =DA=C1=D0=D5= =D3=CB=C1=D4=D8 =CB=CF=CD=C1=CE=C4=D9 =D3 =D0=CF=D4=CF=CB=C1=CD=C9 =DE=C5= =D2=C5=DA > find -exec? =F0=CF=D6=C1=CC=D5=CA=D3=D4=C1, =D0=D2=CF=DE=D4=C9=D4=C5 =C4=CF=CB=D5=CD=C5= =CE=D4=C1=C3=C9=C0, =D4=C1=CD =CF=D0=C9=D3=C1=CE =D7=C1=DB =D3=CC=D5=DE=C1= =CA: $ 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. Not= ice that the braces are enclosed in single quote marks to protect them f= rom interpretation as shell script punctuation. The semicolon is si= mi- larly protected by the use of a backslash, though ';' could have b= een used in that case also. P.S. =F7 =D3=D4=C1=D2=D9=C8 =D7=C5=D2=D3=C9=D1=C8 =D0=C1=CB=C5=D4=C1 findut= ils =DC=D4=CF=C7=CF =D0=D2=C9=CD=C5=D2=C1 =CE=C5=D4. --=20 ldv --NKoe5XOeduwbEQHU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDOHst9viEa8HiNCkRAn4QAJ0bD4RuMtG40DAe0T3/tS2jv0oV/QCeJAEi mnBi6nbFKqafe8fIyK6Keq4= =PLDW -----END PGP SIGNATURE----- --NKoe5XOeduwbEQHU--