From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5113 invoked by alias); 3 Jul 2013 19:01:13 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31507 Received: (qmail 9044 invoked from network); 3 Jul 2013 19:01:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 209.85.215.173 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-proxyuser-ip:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=P0BjbkuUPwQDDdGaHELCsYH6XLNFL/FAUqS6uYJ/4kE=; b=EbK6LO6/8vkDRZtC1gH646gZKaMyKZRUqB6twgOQ4XiINaKJg7aJp7hRAzcx532eQ6 D9GLa0nzGKOliewdm9Gr7K80fbrcJRdrM95rr49Few1wc/hEaYcDFJztDrAcZ63M869N G1d5Gin7Izx9H8dV5bS0zegswU78nu47W4fTItAOOE38LvtBGeNToV2iJZ29EjCIzhkm 8zg+vMUBEGGMSFsl0Sr6gbs79mhoXm9ZxU6FXBBR93AUl4L//LTs7wk6mCLbCEkLPC8S MYJ7nTMiaGF1PcHLmkccZG/qQ+Ap5iA0u1qwmDS+Taa4JxyVkjKOI1PhdtnSPpwRm2Nz jmCQ== X-Received: by 10.15.24.13 with SMTP id i13mr2679976eeu.23.1372878061279; Wed, 03 Jul 2013 12:01:01 -0700 (PDT) X-ProxyUser-IP: 86.6.30.159 Date: Wed, 3 Jul 2013 20:00:58 +0100 From: Peter Stephenson To: "Zsh Hackers' List" Subject: Re: PATCH: zmv with alternative commands Message-ID: <20130703200058.705eb872@pws-pc.ntlworld.com> In-Reply-To: <130703110933.ZM8733@torch.brasslantern.com> References: <20130703121700.59d557bc@pwslap01u.europe.root.pri> <130703085719.ZM8647@torch.brasslantern.com> <20130703170622.7114a7fc@pwslap01u.europe.root.pri> <130703110933.ZM8733@torch.brasslantern.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkR6TpNbTjOE9EVXMdmrDBEXN3QNyjnpJKUvm70iAO8Mr94GF5z3+XTAmy55RbfCsvXXXet On Wed, 03 Jul 2013 11:09:33 -0700 Bart Schaefer wrote: > If -p splits, do we even need -o any more, or is there a reason > that splitting with -o was separated from providing the command with -p? No, we don't really need -o any more. It's more natural if you don't need to change the command name, but want to add an option. -p is more natural if you are suppling consecutive words like a command and a subcommand. There's definitely no point in using both. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/