Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Apple bash to zsh script problems with error control and bash emulation
- X-seq: zsh-users 26180
- From: Dominik Reichardt <domiman@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Apple bash to zsh script problems with error control and bash emulation
- Date: Tue, 17 Nov 2020 14:03:40 +0100
- Archived-at: <https://zsh.org/users/26180>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-11/5F28C80F-1AAB-4DBB-8B65-6544F66C3CED%40gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-wr1-f42.google.com) smtp.remote-ip=209.85.221.42; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=pwidjP3HwUWBExORRqsOyqkHA4UiejpExynunMd0gcA=; b=KvH++NChR+KKuMGa6IZXj5vSplhInkFMn44N5J6o4R4e5oM3CzjPYaKHhamdufDuRR yLeMtaP8EKexIXR5Oytr3HyhwEcBbUA6CE0wVCFN2GXvUJVRgT4bmAbTF2UnaV4lcIFO LwCWwyBFcbggj5KI2k0LWw/GXTBmp5cf4631JrpYyscioIlGL+iFZ+w38eANf/OiXDrs lvBK4hQOJ8ugrFIqnSHGXuz7xFebb73NT8fWJqEVMDUFeKlieFI1zRwRJN+u3mRyYWCY bFLoihJ8Xk54ikvywqpJnE0O0BDW2lRAnSho+t7e6AZrEtPVdUJHsqAJY4DRbEsIrwDk 6kRQ==
- In-reply-to: <CAN=4vMqwLWrF097PjVu9=XtW6iGB3MZ=2_SFL-CDfuc0ub3AcQ@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <1EFC2452-32D1-411C-B239-0031131FA197@gmail.com> <20201116180129.4f6a851f@tarpaulin.shahaf.local2> <4254F6E5-249B-4DFF-8D4D-6D253D15AFB2@gmail.com> <CAN=4vMqwLWrF097PjVu9=XtW6iGB3MZ=2_SFL-CDfuc0ub3AcQ@mail.gmail.com>
- Sender: zsh-users-request@xxxxxxx
> On 16. Nov 2020, at 21:11, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Mon, Nov 16, 2020 at 8:46 PM Dominik Reichardt <domiman@xxxxxxxxx> wrote:
>>
>> So now the script runs as expected again without bash emulation! Wheee!
>
> It no longer works with bash though.
I’m good with that. I needed the script to work on my machines that are now all switched to zsh shell. If I really need it to work with bash again, I can retrace my steps as I “documented” my steps with GitHub commits.
The biggest hurdle was that somehow the scripts stopped working correctly when I kept with “… env bash”, so having them work in zsh only is ok for me.
Thanks again all!
Dom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author