This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] An implementation of pipe to make I/O communication between gdb and shell.


On Fri, Aug 5, 2011 at 4:06 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Friday 05 August 2011 11:24:54, Abhijit Halder wrote:
>
>> > the delimiter would be `dthread'. ?I 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? ?I imagine myself stumbling on some expression in some
> language that conflicts with |, and without much thinking,
> just writing:
>
> ?pipe 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. ?:-) ?Sorry for not being clear.
>
> --
> Pedro Alves
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]