From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Comm] sed OR subst =?iso-8859-5?Q?=DA=D0=DA=3F?= From: Yura Kalinichenko To: AltLinux Community Maillist In-Reply-To: <20050531092020.1e235fff@localhost.localdomain> References: <20050531092020.1e235fff@localhost.localdomain> Content-Type: text/plain; charset=koi8-u Organization: iceB Software Group Date: Tue, 31 May 2005 10:07:49 +0300 Message-Id: <1117523269.3023.6.camel@yuk.home.int> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 (2.0.1-alt0.5) 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, 31 May 2005 07:11:28 -0000 X-List-Received-Date: Tue, 31 May 2005 07:11:28 -0000 Archived-At: List-Archive: List-Post: =F7 =F7=D4=CF, 31/05/2005 =D7 09:20 +0300, Dolgov OV =D0=C9=DB=C5=D4: > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. >=20 > =EF=D0=D1=D4=D8 =D7=C5=D2=CE=D5=CC=D3=D1 =CB =CE=C5=D2=C1=DA=D2=C5=DB=C5= =CE=CE=CF=CD=D5 =C4=CC=D1 =CD=C5=CE=D1 =CB=CF=C7=C4=C1-=D4=CF =D7=CF=D0=D2= =CF=D3=D5 :-( >=20 > =E5=D3=D4=D8 =C6=C1=CA=CC, =CE=C1'grep'=C1=CE=D9=CA =C6=D2=C1=C7=CD=C5=CE= =D4=C1=CD=C9 html =CB=CF=C4=C1 =C9=DA =D3=CF=C8=D2=C1=CE=C5=CE=CE=D9=C8 =D3= =D4=D2=C1=CE=C9=C3. > =EB=C1=D6=C4=C1=D1 =D3=D4=D2=CF=CB=C1 =D3=CF=C4=C5=D2=D6=C9=D4 =CF=D4 =CF= =C4=CE=CF=CA =C9 =C2=CF=CC=C5=C5 =D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