From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21776 invoked by alias); 18 Jan 2017 20:30:12 -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: 22402 Received: (qmail 11605 invoked from network); 18 Jan 2017 20:30:12 -0000 X-Qmail-Scanner-Diagnostics: from mta02.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.13):SA:0(-3.9/5.0):. Processed in 0.555599 secs); 18 Jan 2017 20:30:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.13 as permitted sender) X-Authority-Analysis: v=2.2 cv=DOfN2GFb c=1 sm=1 tr=0 a=28Ntk8jg+Dho8ABWn/CRtA==:117 a=28Ntk8jg+Dho8ABWn/CRtA==:17 a=IkcTkHD0fZMA:10 a=6apwysA0m9ASIEM0-DcA:9 a=QEXdDO2ut3YA:10 X-EL-IP-NOAUTH: 24.207.16.108 Subject: Re: this should be easy variable expansion including globs. To: "Nikolay Aleksandrovich Pavlov (ZyX)" , "zsh-users@zsh.org" References: <52be7a1a-2da8-a4b6-905a-3eea694763c3@eastlink.ca> <20170118184623.3bf91c52@ntlworld.com> <5ade5a22-d115-ed6f-62e2-9d69a9db20d3@eastlink.ca> <484161484770354@web26m.yandex.ru> From: Ray Andrews Message-id: <365b51dc-a75c-8207-57ae-52c13d1798fc@eastlink.ca> Date: Wed, 18 Jan 2017 12:30:07 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-version: 1.0 In-reply-to: <484161484770354@web26m.yandex.ru> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 18/01/17 12:12 PM, Nikolay Aleksandrovich Pavlov (ZyX) wrote: > > > Alternative solutions are using `typeset -m 'SMARTD*'` (you did know about `which -m`, did not you? This is similar.) Perfect. And yes, it's nice to see '-m' here behave as expected from 'whence -m'. English: Though we would say: "didn't you?" and 'didn't' expands to 'did not', yet "did not you" is incorrect, which is quite crazy, it should be: "did you not?" Probably no one can even explain why.