From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4195 invoked by alias); 25 Feb 2017 15:13:30 -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: 22489 Received: (qmail 4527 invoked from network); 25 Feb 2017 15:13:30 -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(-0.7/5.0):. Processed in 1.204827 secs); 25 Feb 2017 15:13:30 -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=-0.7 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=XjFz1dxMm4jRJ7U1/4sCTg==:117 a=XjFz1dxMm4jRJ7U1/4sCTg==:17 a=N659UExz7-8A:10 a=f1zPmVzslPSABeQsWIQA:9 a=pILNOxqGKmIA:10 X-EL-IP-NOAUTH: 24.207.24.32 Subject: Re: bash conversion trouble. To: zsh-users@zsh.org References: <004ec4f2-3b3a-8907-86a6-4326399783aa@eastlink.ca> <170224204153.ZM19840@torch.brasslantern.com> From: Ray Andrews Message-id: <6f722b8f-a712-985f-65e8-3b03a5b352c3@eastlink.ca> Date: Sat, 25 Feb 2017 07:13:20 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-version: 1.0 In-reply-to: <170224204153.ZM19840@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 24/02/17 08:41 PM, Bart Schaefer wrote: > So bash ${name,,} is zsh ${(L)name} ... and there isn't a simple zsh > equivalent for what happens if there is a pattern following the ,, Even more cryptic than our way, which at least is sorta obviously a modifier and can obviously be one of a family of modifiers which will all share the same form. So we win. BTW, in 700 lines of bash, so far that's been the only outright breakage except that it seems that zsh arrays are one based and bash are zero, which almost kills my little effort since there are dozens of them.