From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56246 invoked by alias); 21 Apr 2019 05:22:59 -0000 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 Received: (qmail 56201 invoked by uid 89); 21 Apr 2019 05:22:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=bur X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Apr 2019 05:22:55 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hI4wH-00006V-Gz; Sun, 21 Apr 2019 01:22:53 -0400 Received: from [176.228.60.248] (port=3279 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hI4wG-0005uu-Fz; Sun, 21 Apr 2019 01:22:52 -0400 Date: Sun, 21 Apr 2019 05:22:00 -0000 Message-Id: <83pnpg9bkv.fsf@gnu.org> From: Eli Zaretskii To: Philippe Waroquiers CC: gdb-patches@sourceware.org In-reply-to: <20190420212153.30934-5-philippe.waroquiers@skynet.be> (message from Philippe Waroquiers on Sat, 20 Apr 2019 23:21:53 +0200) Subject: Re: [RFA 4/4] NEWS and documentation for | (pipe) command. References: <20190420212153.30934-1-philippe.waroquiers@skynet.be> <20190420212153.30934-5-philippe.waroquiers@skynet.be> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00402.txt.bz2 > From: Philippe Waroquiers > Cc: Philippe Waroquiers > Date: Sat, 20 Apr 2019 23:21:53 +0200 > > diff --git a/gdb/NEWS b/gdb/NEWS > index 5309a8f923..8744659e7b 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -27,6 +27,14 @@ > 'array_indexes', 'symbols', 'unions', 'deref_refs', 'actual_objects', > 'static_members', 'max_elements', 'repeat_threshold', and 'format'. > > +* New commands > + > +pipe [COMMAND] | SHELL_COMMAND > +| [COMMAND] | SHELL_COMMAND > + Executes COMMAND and sends its output to SHELL_COMMAND. > + With no COMMAND, repeat the last executed command > + and send its output to SHELL_COMMAND. > + This is OK. > +You can also redirect the output of a @value{GDBN} command to a > +shell command. See @ref{pipe}. ^^^^^^^^^^^^^^ This isn't incorrect, bur @xref{pipe} is better. Otherwise, the documentation part is OK, thanks.