From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28466 invoked by alias); 5 Aug 2011 10:51:55 -0000 Received: (qmail 28455 invoked by uid 22791); 5 Aug 2011 10:51:54 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ew0-f41.google.com (HELO mail-ew0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Aug 2011 10:51:20 +0000 Received: by ewy9 with SMTP id 9so1575687ewy.0 for ; Fri, 05 Aug 2011 03:51:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.114.66 with SMTP id d2mr634560ebq.102.1312541479573; Fri, 05 Aug 2011 03:51:19 -0700 (PDT) Received: by 10.213.16.210 with HTTP; Fri, 5 Aug 2011 03:51:19 -0700 (PDT) In-Reply-To: <201108051136.14880.pedro@codesourcery.com> References: <201108051056.59135.pedro@codesourcery.com> <201108051136.14880.pedro@codesourcery.com> Date: Fri, 05 Aug 2011 10:51:00 -0000 Message-ID: Subject: Re: [PATCH] An implementation of pipe to make I/O communication between gdb and shell. From: Abhijit Halder To: Pedro Alves Cc: Jan Kratochvil , gdb-patches@sourceware.org, Sergio Durigan Junior , Tom Tromey Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00105.txt.bz2 On Fri, Aug 5, 2011 at 4:06 PM, Pedro Alves wrote: > On Friday 05 August 2011 11:24:54, Abhijit Halder wrote: > >> > the delimiter would be `dthread'. =A0I see no reason to >> > require it to be a single character. >> > >> Just a thought. Can't using a single character make the life simple? > > To who? =A0I imagine myself stumbling on some expression in some > language that conflicts with |, and without much thinking, > just writing: > > =A0pipe XXX randomexpr XXX randomcommand > > instead of having to think, or possibly try/fail more than one > time, which characters are allowed and wouldn't conflict with > both randomexpr and randomcommand. > Here I got your point. Thanks. >> That will surely reduce the options for delimiter. But as you said, >> like sed this can be used. > > Well, I said like a grandchild of sed and cat EOF, the latter > refering to "here documents", which accept strings as > delimiters. =A0:-) =A0Sorry for not being clear. > > -- > Pedro Alves >