From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9036 invoked by alias); 30 Aug 2011 14:32:02 -0000 Received: (qmail 9023 invoked by uid 22791); 30 Aug 2011 14:32:02 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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-ww0-f43.google.com (HELO mail-ww0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Aug 2011 14:31:48 +0000 Received: by wwe32 with SMTP id 32so5966182wwe.12 for ; Tue, 30 Aug 2011 07:31:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.9.225 with SMTP id 75mr860727wet.7.1314714706866; Tue, 30 Aug 2011 07:31:46 -0700 (PDT) Received: by 10.216.22.75 with HTTP; Tue, 30 Aug 2011 07:31:46 -0700 (PDT) In-Reply-To: <201108301527.22683.pedro@codesourcery.com> References: <201108301527.22683.pedro@codesourcery.com> Date: Tue, 30 Aug 2011 14:32:00 -0000 Message-ID: Subject: Re: [PATCH][TEST-CASE][DOC] Implementation of pipe to pass GDB's command output to the shell. From: Abhijit Halder To: Pedro Alves Cc: Eli Zaretskii , gdb-patches@sourceware.org, sergiodj@redhat.com, jan.kratochvil@redhat.com, tromey@redhat.com 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/msg00602.txt.bz2 On Tue, Aug 30, 2011 at 7:57 PM, Pedro Alves 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} comma= nd, >> +followed by the same delimiter and finally a shell command. =A0The deli= miter 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. =A0T= he shell >> +command should be in compliance with the syntax of the default shell. >> +@end table > > -- > Pedro Alves > Sure. I am going to change this.