From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 19 Jan 2014 18:34:55 +0400 From: "Dmitry V. Levin" To: ALT Linux Community general discussions Message-ID: <20140119143455.GA6879@altlinux.org> References: <1390140322.397869788@f87.i.mail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <1390140322.397869788@f87.i.mail.ru> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [Comm] xmllint X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 14:34:56 -0000 Archived-At: List-Archive: List-Post: --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Jan 19, 2014 at 06:05:22PM +0400, belka wrote: > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5 =D7=D3=C5=CD > =CD=CF=D6=C5=D4 =CB=D4=CF =CE=C9=C2=D5=D4=D8 =CF=C2=D8=D1=D3=CE=C9=D4 =CD= =CE=C5 =DE=D4=CF =D1 =C4=C5=CC=C1=C0 =CE=C5 =D4=C1=CB ? =FA=C1=D7=C9=D3=C9=D4 =CF=D4 =D4=CF=C7=CF, =CB=C1=CB=D5=C0 =DA=C1=C4=C1=DE= =D5 =D7=D9 =D2=C5=DB=C1=C5=D4=C5. > =CF=C2=CE=C1=D2=D5=D6=C9=CC =DE=D4=CF =D4=CF =D3=D4=D2=C1=CE=CE=CF=C5 =D0= =D2=C9 =D0=C1=D2=D3=C9=CE=C7=C5 xml =C6=C1=CA=CC=C1 =F0=C1=D2=D3=C9=CE=C7 xml =D4=D5=D4 =CE=C5 =D0=D2=C9=DE=C5=CD. > [belka@home newfolder]$ ls > file1=9A file2=9A file.xml > [belka@home newfolder]$ cat ./file.xml > >=20 > [belka@home newfolder]$ echo "cat /root/messages/message/text/text()" | x= mllint --nocdata --shell file.xml=9A | sed '1d;$d'=20 > * > [belka@home newfolder]$ text=3D"$(echo "cat /root/messages/message/text/t= ext()" | xmllint --nocdata --shell file.xml=9A | sed '1d;$d' )" > [belka@home newfolder]$ echo $text > file1 file2 file.xml > [belka@home newfolder]$=20 =FC=CB=D7=C9=D7=C1=CC=C5=CE=D4=CE=D9=CA =D0=D2=C9=CD=C5=D2 =C2=C5=DA xmllin= t: $ ls file1=9A file2=9A file.xml $ echo "*" * $ text=3D"$(echo "*")" $ echo $text file1=9A file2=9A file.xml $ echo "$text" * =F3=CF=C7=CC=C1=D3=CE=CF bash(1), "Expansion is performed on the command li= ne after it has been split into words. [...] The order of expansions is: brace expansion, tilde expansion, parameter, variable and arithmetic expansion and command substitution (done in a left-to-right fashion), word splitting, and pathname expansion." --=20 ldv --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iEYEARECAAYFAlLb4o8ACgkQfKvmrJ41Nh53nACggKUywo7Bhgf8BriZFTFOwmpq 8B4An149fMh2Gwlj24icWDBeEQZFjQF3 =+ubm -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--