From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Comm] sed -? From: Yura Kalinichenko To: AltLinux Community Maillist In-Reply-To: <20041005181904.6329d878.dov@media-link.info> References: <20041005164309.1f3826e6.dov@media-link.info> <20041005181904.6329d878.dov@media-link.info> Content-Type: text/plain; charset=KOI8-U Organization: iceB Software Group Message-Id: <1097001561.2851.29.camel@iceb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1- (1.2.1-alt3) Date: 05 Oct 2004 21:39:22 +0300 Content-Transfer-Encoding: quoted-printable X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 18:48:09 -0000 Archived-At: List-Archive: List-Post: =F7 =F7=D4=CF, 05.10.2004, =D7 18:19, Dolgov OV =CE=C1=D0=C9=D3=C1=CC: > On Tue, 5 Oct 2004 16:43:09 +0300 > Dolgov OV wrote: > > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. > >=20 > > =F0=CF=C4=D3=CB=C1=D6=C9=D4=C5 =D0=CC=DA. =CB=C1=CB sed'=CF=CD =DA=C1= =CD=C5=CE=C9=D4=D8 =CE=C5=CB=C9=CA patern =D0=C5=D2=C5=D7=CF=C4=CF=CD =D3= =D4=D2=CF=CB=C9? > > =E9=CC=C9 =CD=CF=D6=C5=D4 =CE=C5 sed'=CF=CD, =C1 perl'=CF=CD, =CE=CF = =DA=C1=C4=C1=DE=C1 =D7=CF=D4 =D7 =DE=C5=CD: > > =E5=D3=D4=D8 =D4=C5=CB=D3=D4=CF=D7=D9=CA =C6=C1=CA=CC =D3 =C6=D2=C1=C7= =CD=C5=CE=D4=C1=CD=C9 html =CB=CF=C4=C1. =F7 =CB=C1=D6=C4=CF=CA =D3=D4=D2= =CF=CB=C5 =CF=D4 1-=C7=CF > > =C4=CF 30-=D4=C9 =D5=DE=C1=D3=D4=CB=CF=D7, =D2=C1=DA=C4=C5=CC=C5=CE=CE= =D9=C8 =D0=CF=D3=CC=C5=C4=CF=D7=C1=D4=C5=CC=D8=CE=CF=D3=D4=D8=C0 > > =F7=CF=D4 =DC=D4=C9 =D1 =C9 =C8=CF=DE=D5 =DA=C1=CD=C5=CE=C9= =D4=D8 =D0=C5=D2=C5=D7=CF=C4=CF=CD =D3=D4=D2=CF=CB=C9, =C4=C1=C2=D9 =D5=D6= =C5 =D0=CF=D4=CF=CD > > =CF=C2=D2=C1=C2=C1=D4=D9=D7=C1=D4=D8 =CB=C1=D6=C4=D5=C0 =CF=D4=C4=C5=CC= =D8=CE=D5=C0 =D1=DE=C5=CA=CB=D5, =CB=C1=CB =CF=D4=C4=C5=CC=D8=CE=D5=C0 =D3= =D4=D2=CF=CB=D5 =D7 =C6=C1=CA=CC=C5. > >=20 > > =F0=D2=CF=C2=CF=D7=C1=CC=20 > > cat list.txt | sed s/"<\/TD><\/tr>"/\n/g - > list1.txt > > =D4=D5=D0=CF =D0=CF=C4=D3=D4=C1=D7=CC=D1=C5=D4=D3=D1 n. > >=20 > > perl -nwe 'print "$1\n" if /(.*)<\/TD><\/tr>/' list.txt > > > list1.txt > > =CF=D4=C2=D2=C1=D3=D9=D7=C1=C5=D4 =D4=CF=CC=D8=CB=CF =D0=CF=D3=CC=C5=C4= =CE=C0=C0 =D0=CF=D3=CC=C5=C4=CF=D7=C1=D4=C5=CC=D8=CE=CF=D3=D4=D8. =ED=CF=D6= =C5=D4 =CD=CF=D6=CE=CF =CB=C1=CB=D4=CF > > perl'=D5 =CF=C2=DF=D1=D3=CE=C9=D4=D8 =DE=D4=CF=C2=D9 =CF=CE =DB=C5=CC= =D0=CF=D3=CC=C5=C4=CF=D7=C1=D4=C5=CC=D8=CE=CF =D0=CF =D3=D4=D2=CF=CB=C5 = =C4=CF =C9=D3=CB=CF=CD=CF=C7=CF > > patern'=C1? >=20 > =EB=C1=CB =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