From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2802 invoked by alias); 31 Jul 2002 03:25:45 -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 2795 invoked from network); 31 Jul 2002 03:25:44 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 31 Jul 2002 03:25:44 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 21C343F5D; Tue, 30 Jul 2002 23:25:25 -0400 (EDT) Message-ID: <3D4758A5.8050605@ges.redhat.com> Date: Tue, 30 Jul 2002 20:36:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020708 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Tom Tromey , gdb-patches@sources.redhat.com Subject: Re: RFA: >, >>, and "tee" operators References: <20020723183956.GA28558@nevyn.them.org> <871y9ub6fj.fsf@fleche.redhat.com> <20020723192325.GA30738@nevyn.them.org> <87d6te8a6o.fsf@fleche.redhat.com> <20020723202051.GA5427@nevyn.them.org> <3D3F5BDF.2050209@ges.redhat.com> <20020725031026.GA20117@nevyn.them.org> <3D401D50.4030009@ges.redhat.com> <20020725161749.GA10862@nevyn.them.org> <3D40371D.6070603@ges.redhat.com> <20020730191825.GA17620@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00606.txt.bz2 > So in other words, I'd like to stick with > >> > redirect [-a[ppend]] FILE [COMMAND] >> > log [-a[ppend]] FILE [COMMAND] Don't forget that prefix `-' and `--' are valid C operators. You can't tell the difference between the above and a valid C expressions. I think that rules `-...' out. I also think it should be part of the ``set'' family. I think it is entirely reasonable for a user to type: ``show logfile'' set/show can be used in ways that avoid the need for parameters. enjoy, Andrew