From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16577 invoked by alias); 5 Nov 2014 17:29:59 -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: 19347 Received: (qmail 3753 invoked from network); 5 Nov 2014 17:29: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=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,T_HDRS_LCASE,T_MANY_HDRS_LCASE autolearn=ham version=3.3.2 MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_4+CxzXyinznfwguKVjUEag)" X-Authority-Analysis: v=2.1 cv=HYUtEE08 c=1 sm=1 tr=0 a=tDZUtGgdvB6RbretPev/jw==:117 a=tDZUtGgdvB6RbretPev/jw==:17 a=G8GL833Es-AA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=71CsewnLwY7PAhaXMP0A:9 a=QEXdDO2ut3YA:10 a=eRxEyi5TjjvlgMvpG1AA:9 a=rVBUgyxMogH33rUp:21 a=_W_S_7VecoQA:10 Message-id: <545A6D66.3080500@eastlink.ca> Date: Wed, 05 Nov 2014 10:33:10 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 To: Zsh Users Subject: 'whence' question --Boundary_(ID_4+CxzXyinznfwguKVjUEag) Content-type: text/plain; CHARSET=US-ASCII; format=flowed Content-transfer-encoding: 7BIT This seems right, the '-a' switch doesn't take wildcards: $ whence -a zsh /usr/local/bin/zsh /usr/bin/zsh /bin/zsh ... however the '-m' switch accepts wildcards: $ whence -m "zsh*" /usr/local/bin/zsh /usr/local/bin/zsh-ok /usr/local/bin/zsh-test1 /usr/local/bin/zsh-test2-orig-rebuild /bin/zsh4 /bin/zsh5 ... yet, although '/usr/local/bin/zsh' is found, all of the other files found by 'whence -a zsh' above are missed. How is it that '/usr/local/bin/zsh' matches 'zsh*' but '/bin/zsh' does not? --Boundary_(ID_4+CxzXyinznfwguKVjUEag)--