From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 76d42970 for ; Mon, 16 Dec 2019 00:29:09 +0000 (UTC) Received: (qmail 24801 invoked by alias); 16 Dec 2019 00:29:04 -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: List-Unsubscribe: X-Seq: 24553 Received: (qmail 12095 invoked by uid 1010); 16 Dec 2019 00:29:04 -0000 X-Qmail-Scanner-Diagnostics: from mail-il1-f173.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25663. spamassassin: 3.4.2. Clear:RC:0(209.85.166.173):SA:0(-2.0/5.0):. Processed in 3.537394 secs); 16 Dec 2019 00:29:04 -0000 X-Envelope-From: mikachu@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.173 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vz3c2ZbukrTlCDQkExvm4uDm7lHcOI5iIxb1xyY0oGo=; b=OidhXP2WGp20omFzwvkSLy6QqUgANBpZjBR5UvSDLlBjp34XFAWiZQmG17l4210J9X D1bfxSxBZRkZYk41hV4k+FQS38KmcOYwvBToowtDvvfquDr8QGea+Mpt15Q6V9BIMy1W +1t6VFf8DoCwWEn7YPC5B4RuG5Lpj+558279yqUKp9zW6AIvqFqMtvGI0Mjc8w9As7lH xENT5UYivc8SdkCbkXN32j89r8moCxIPNR/jz50m4So7FDPgu1buoujCr+S66eYG6+as Kwjy579pGCCkVhpK8GLRHEBMxir5Ge3Kv/qPJ4aGo3qQ1Ogvx716zppy2Z6WiZbWMS/M GBlQ== X-Gm-Message-State: APjAAAUzU6Lja+RuvUCBr3Awk//70ERf+6Hwh+OcCQ/hHFNBo3aAsF6y XRZgJmSeZVoPbOskf+6YP3qe5/Ac/P8aRIkuMDU= X-Google-Smtp-Source: APXvYqzPeBKPGS+BIAUuDC16E7WWnraaQyp2l+1f7hp7WcbBGd8IdUt0d5Lnp+ow8BPX2bHIXQnXjEKzQhIoa3A17Yw= X-Received: by 2002:a92:ab0b:: with SMTP id v11mr9369869ilh.159.1576456108100; Sun, 15 Dec 2019 16:28:28 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20191215100507.GA23773@pooh.my.domain> <20191215120231.GA18473@pooh.my.domain> <6C537986-6091-4EF2-AA85-EB3391DF5F27@dana.is> From: Mikael Magnusson Date: Mon, 16 Dec 2019 01:28:27 +0100 Message-ID: Subject: Re: variable expanding to `*` matches a literal `*` in case cond. construct To: =?UTF-8?B?T8SfdXo=?= Cc: dana , Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 12/16/19, O=C4=9Fuz wrote: > 16 Aral=C4=B1k 2019 Pazartesi tarihinde dana yazd=C4=B1: >> >> Apple have changed their default *log-in shell* to zsh. /bin/sh is still >> /bin/bash (though it seems like they might switch to dash in the >> future?), >> and >> both of those still work exactly the way they did before. You still need >> to go >> out of your way to write scripts that run under zsh. Even if you use zsh >> to >> run a shell script without an interpreter directive, it will run it with >> /bin/sh. >> > > Thanks, this is something I didn't know. So the conclusion is; > 1. One should never, ever expect zsh to be compatible with other shells > since it has to suck, just as its users, > 2. Apple doesn't force zsh, and a proper shell is still available, so no > need to worry. > > This is my last post to this mailing list, thanks. If all shells worked exactly the same, what would be the purpose of having more than one to choose from? Zsh doesn't fall into the same traps of traditional sh like bash did, and it is possible to write working scripts without using horribly convoluted constructs. If you think that "sucks", that is your loss. Looking forward to not getting a reply to this since you've already sent your last post to this mailing list, you're welcome. --=20 Mikael Magnusson