From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2570 invoked by alias); 22 Jun 2003 18:04:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2400 invoked from network); 22 Jun 2003 18:04:35 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 22 Jun 2003 18:04:35 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 94F8F2B5F; Sun, 22 Jun 2003 14:04:29 -0400 (EDT) Message-ID: <3EF5EFAD.6010401@redhat.com> Date: Sun, 22 Jun 2003 18:04:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: Syntax for logging References: <20030621172358.GA8711@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00703.txt.bz2 > Folks may remember the thread from a year ago: > RFA: >, >>, and "tee" operators > http://sources.redhat.com/ml/gdb-patches/2002-07/msg00458.html > > I eventually decided that my prefered syntax was: > redirect [-a] [FILE [COMMAND]] > log [-a] [FILE [COMMAND]] > But people didn't care for the use of "-a". I still like this syntax; it's > symmetric, and it allows clearly "transcript [-a]". But it's pretty clear > to me that we won't reach a consensus on that. I believe Fernando liked it > and Andrew didn't. > > I believe the best alternative at this point is: > set logging [redirect|log] [append|overwrite] FILE > show logging > The defaults would be log,overwrite; they could be explicitly specified in > order to overwrite a log file named append, if one wanted to do that. > > Comments, anyone? Shall I repost the patch with that change? I'd really > like to see this feature added. Set show are consistent with the command line syntax. How does one turn it off? Andrew