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

Pedro Alves
2011-08-05T10:36:34Z

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.

> 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