From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 3 Oct 2007 02:04:25 +0400 From: Alexey Tourbin To: ALT Linux Team development discussions Message-ID: <20071002220425.GO6159@solemn.turbinal> Mail-Followup-To: ALT Linux Team development discussions References: <20071002212657.GN6159@solemn.turbinal> <9713cfcc0710021454w3b2d8a55lb8b9456c54f7ac67@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZgsfP6ejcHXtpYqZ" Content-Disposition: inline In-Reply-To: <9713cfcc0710021454w3b2d8a55lb8b9456c54f7ac67@mail.gmail.com> Subject: Re: [devel] IFS="()" read X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 22:04:30 -0000 Archived-At: List-Archive: List-Post: --ZgsfP6ejcHXtpYqZ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 03, 2007 at 12:54:05AM +0300, Led wrote: > 03.10.07, Alexey Tourbin : > > > > $ echo 'executable(cat)' |sh -c 'IFS=3D"()" read t r; echo $t $r' > > executable cat > > $ echo 'executable(cat)' |ash -c 'IFS=3D"()" read t r; echo $t $r' > > executable cat > > $ echo 'executable(cat)' |ksh -c 'IFS=3D"()" read t r; echo $t $r' > > executable cat) > > $ > > > > =EB=C1=CB=CF=CA =C9=DA =DB=C5=CC=CC=CF=D7 "=CE=C1 =D3=C1=CD=CF=CD =C4= =C5=CC=C5" =D0=D2=C1=D7? > > http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html >=20 > =E5=D3=CC=C9 =D0=C5=D2=C5=C4 "read ..." =D3=D4=C1=D7=C9=D4=D8 ";" =C9=CC= =C9 =D0=CF=D3=D4=C1=D7=C9=D4=D8 =C5=C7=CF =D3 =CE=CF=D7=CF=CA =D3=D4=D2=CF= =CB=C9, =D4=CF > =D7=D3=C5 =DB=C5=CC=CC=D9 =D0=D2=C1=D7=D9. =EE=CF =CE=C5=CB=CF=D4=CF=D2=D9=C5 =D0=D2=C1=D7=C5=C5. :) $ echo 'executable(cat)' |ksh -c 'IFS=3D"()"; read t r; echo $t $r' executable cat=20 $ echo 'executable(cat)' |zsh -c 'IFS=3D"()"; read t r; echo $t $r' executable cat) $=20 =F0=CF=C8=CF=D6=C5 =CE=C1 =D1=D7=CE=D9=CA =C7=CC=C0=CB =D7 ksh -- =D4=C9=D0= =C1 IFS "=CE=C5 =D0=CF=CC=CE=CF=D3=D4=D8=C0 =D0=D2=C9=D3=D7=C1=C9=D7=C1=C5= =D4=D3=D1". (=E1 zsh =D7=CF=CF=C2=DD=C5 =CF=D3=CF=C2=CF =CE=C5 =D0=D2=C5=D4=C5=CE=C4=D5= =C5=D4 =CE=C1 =D3=CF=D7=CD=C5=D3=D4=C9=CD=CF=D3=D4=D8...) --ZgsfP6ejcHXtpYqZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHAsBpfBKgtDjnu0YRAp4VAJ9UzMqtYSEQFYYSFut73aIGeviRmwCfWN37 oxtgATF06gEWCfoVrI1C2iU= =t+yw -----END PGP SIGNATURE----- --ZgsfP6ejcHXtpYqZ--