From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 13 Aug 2010 22:30:16 +0400 From: Sergey Vlasov To: devel@lists.altlinux.org Message-ID: <20100813183016.GA6764@atlas.home> Mail-Followup-To: devel@lists.altlinux.org References: <4C600551.5070308@altlinux.ru> <1281442559.24591.10@ildar.innovations.kz> <20100810122510.GZ10853@wrars-comp.wrarsdomain> <20100812214417.GC15707@wo.int.altlinux.org> <20100813124847.GA17095@mw.office.seiros.ru> <20100813154321.GA7685@imap.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <20100813154321.GA7685@imap.altlinux.org> Subject: Re: [devel] bash4 X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 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: Fri, 13 Aug 2010 18:30:07 -0000 Archived-At: List-Archive: List-Post: --AqsLC8rIMeq19msA Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 13, 2010 at 07:43:21PM +0400, Alexey Tourbin wrote: > =E5=D3=D4=D8 =C5=DD=A3 =CF=C4=CE=C1 =CE=C5=C8=CF=D2=CF=DB=C1=D1 =DA=C1=D3= =C1=C4=C1 - =D5 =CE=C1=D3 /bin/sh =C9 /bin/bash =D3=CF=C2=D2=C1=CE=D9 > =D7 =CF=DE=C5=CE=D8 =D2=C1=DA=CE=CF=CA =CB=CF=CE=C6=C9=C7=D5=D2=C1=C3=C9= =C9: =D5 =CE=C9=C8 =CF=D4=CC=C9=DE=C1=C5=D4=D3=D1 =D3=C9=CE=D4=C1=CB=D3=C9= =D3. =F1 =D3=D4=C1=D7=C9=CC > =DC=D4=CF=D4 =D7=CF=D0=D2=CF=D3 =C5=DD=A3 6 =CC=C5=D4 =CE=C1=DA=C1=C4! >=20 > $ sh -c 'diff <(echo a) <(echo b)' > sh: -c: line 0: syntax error near unexpected token `(' > sh: -c: line 0: `diff <(echo a) <(echo b)' > $ bash -c 'diff <(echo a) <(echo b)' > 1c1 > < a > --- > > b > $=20 =FC=D4=CF =CE=C5 =CB=CF=CE=C6=C9=C7=D5=D2=C1=C3=C9=D1, =C1 =C4=CF=CB=D5=CD= =C5=CE=D4=C9=D2=CF=D7=C1=CE=CE=C1=D1 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=D8 =D0= =CF=D7=C5=C4=C5=CE=C9=D1 bash =CF=D4 =C9=CD=C5=CE=C9, =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=CE=CE=CF=C7=CF =D0=D2=C9 = =D7=D9=DA=CF=D7=C5, =C9 =CF=D4=CB=CC=C0=DE=C5=CE=C9=C5 =D0=CF=C4=C4=C5=D2= =D6=CB=C9 process substitution =D7 =D2=C5=D6=C9=CD=C5 =D3=CF=D7=CD=C5=D3=D4=C9=CD=CF=D3=D4=C9= =D3 POSIX (=C4=CF=CB=D5=CD=C5=CE=D4=C9=D2=CF=D7=C1=CE=CF =D4=CF=CC=D8=CB= =CF =D7 info bash, =D7 man =D7 =D1=D7=CE=CF=CD =D7=C9=C4=C5 =CE=C5 =CF=D0=C9=D3=C1= =CE=CF): $ bash --posix -c 'diff <(echo a) <(echo b)' bash: -c: line 0: syntax error near unexpected token `(' bash: -c: line 0: `diff <(echo a) <(echo b)' $ ln -s /bin/bash sh; ./sh -c 'diff <(echo a) <(echo b)' =2E/sh: -c: line 0: syntax error near unexpected token `(' =2E/sh: -c: line 0: `diff <(echo a) <(echo b)' $ sh -c 'set +o posix diff <(echo a) <(echo b)' 1c1 < a --- > b (=D7 =D0=CF=D3=CC=C5=C4=CE=C5=CD =D3=CC=D5=DE=C1=C5 =CE=D5=D6=CE=CF =C9=CD= =C5=CE=CE=CF \n =D7 =D3=D4=D2=CF=CB=C5, =DE=C5=D2=C5=DA =D2=C1=DA=C4=C5=CC= =C9=D4=C5=CC=D8 ';' =CE=C5 =D3=D2=C1=C2=CF=D4=C1=C5=D4 - =D7=C9=C4=C9=CD=CF, =D0=C5=D2=C5=CB=CC= =C0=DE=C5=CE=C9=C5 =CF=D0=C3=C9=C9 posix =D0=D2=CF=C9=D3=C8=CF=C4=C9=D4 =D4= =CF=CC=D8=CB=CF =D0=D2=C9 =D2=C1=DA=C2=CF=D2=C5 =D3=CC=C5=C4=D5=C0=DD=C5=CA =D3=D4=D2=CF=CB=C9). --AqsLC8rIMeq19msA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxljzgACgkQW82GfkQfsqLKCgCfXonkvTskbeOBmegqrWomJg7r g5QAnAroUG+QZS6KKkImHohMwzB31pDq =1+TS -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--