From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 9 Sep 2005 10:19:42 +0300 From: "Dmytro O. Redchuk" To: ALT Linux Community Subject: Re: [Comm] =?koi8-u?B?7tUgy8HLINPExczB1Ngg?= =?koi8-u?B?c2VkIM7FINbBxM7ZzT8=?= Message-ID: <20050909071942.GB4196@ldc.net> Mail-Followup-To: ALT Linux Community References: <200509090105.48399.lav@altlinux.ru> <20050909044648.GD30324@borodin.zarya> <200509091109.07136.lav@altlinux.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200509091109.07136.lav@altlinux.ru> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: clamd / ClamAV version 0.74, clamav-milter version 0.74a on backup.ldc.net X-Virus-Status: Clean X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 07:19:46 -0000 Archived-At: List-Archive: List-Post: On Fri, Sep 09, 2005 at 11:09:06AM +0400, Vitaly Lipatov wrote: > On Friday 09 September 2005 08:46, Andrew Borodin wrote: > > On Fri, Sep 09, 2005 at 01:05:47AM +0400, Vitaly Lipatov wrote: > > > Вопрос: как сделать, чтобы вывод по п.4 соответствовал п.1 ? > > > > $ echo "Test:http://ru" | sed -e "s|^[^/]*||" > > //ru > Извините, я опечатался - конечно п.2 : как в sed сделать нежадный > поиск. Так где-то так же. s|^[^:]:||, что ли... > > -- > Lav > Виталий Липатов > Санкт-Петербург > GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk