Re: [PATCH][TEST-CASE][DOC] Implementation of pipe to pass GDB's command output to the shell.

Abhijit Halder
2011-08-30T14:32:02Z

On Tue, Aug 30, 2011 at 7:57 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Tuesday 30 August 2011 14:58:02, Abhijit Halder wrote:
>> +@table @code
>> +@item pipe @var{args}
>
> I suggest writing this as something like:
>
> @item pipe @var{delim} @var{gdbcmd} @var{delim} @var{shellcmd}
>
> and then adjust the text a bit to refer to the variables by name.
> The syntax is more immediately obvious this way.
>
>> +The @var{args} consists of a delimiter followed by a @value{GDBN} command,
>> +followed by the same delimiter and finally a shell command.  The delimiter is a
>> +string of arbitrary length, containing no whitespace and no leading '-', acts
>> +as a separator between a @value{GDBN} command and a shell command.  The shell
>> +command should be in compliance with the syntax of the default shell.
>> +@end table
>
> --
> Pedro Alves
>

Sure. I am going to change this.