From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22287 invoked by alias); 4 Feb 2015 03:57:58 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19806 Received: (qmail 22166 invoked from network); 4 Feb 2015 03:57:56 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Message-ID: <54D195B2.4070205@gmx.com> Date: Tue, 03 Feb 2015 22:44:50 -0500 From: Eric Cook User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: ${var:1:1:=y} References: <54D155C8.4080600@eastlink.ca> <412544FB-49A2-43AA-BC76-DC1AF1AA71BE@larryv.me> <54D16A4C.9010609@eastlink.ca> <150203192508.ZM2159@torch.brasslantern.com> In-Reply-To: <150203192508.ZM2159@torch.brasslantern.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:176KZyU3wlUcYZS0zEkZf9KjwLyxGWxcM6XdcSpMEq1nakkd4N6 ohnbozKkSg405hi0Jo7rnuhkvXA+zkKxHZolR2ALo9snD2AMhPKWd5NRRIEY7+bG9fohfdb XOKF2Nv0kXtz1uIy4cTZ8QJ9DGgS++Ew7jyZ6e97YPkRHyq3oe3Lcjpe9CouvU3216yD0+2 Os7meqriLB0m7TJ+ukRnw== X-UI-Out-Filterresults: notjunk:1; On 02/03/2015 10:25 PM, Bart Schaefer wrote: > All builtin commands other than precommand modifiers, even those that > have no options, can be given the argument `--' to terminate option > processing. This indicates that the following words are non-option > arguments, but is otherwise ignored. This is useful in cases where > arguments to the command may begin with `-'. For historical reasons, > most builtin commands also recognize a single `-' in a separate word > for this purpose; note that this is less standard and use of `--' is > recommended. printf , test/[, set -A and maybe a few others are exceptions to those rules.