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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 a0a9c4b3 for ; Mon, 10 Jun 2019 14:54:31 +0000 (UTC) Received: (qmail 14600 invoked by alias); 10 Jun 2019 14:54:25 -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: 23969 Received: (qmail 13346 invoked by uid 1010); 10 Jun 2019 14:54:25 -0000 X-Qmail-Scanner-Diagnostics: from mail-it1-f173.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25475. spamassassin: 3.4.2. Clear:RC:0(209.85.166.173):SA:0(-2.0/5.0):. Processed in 7.678902 secs); 10 Jun 2019 14:54:25 -0000 X-Envelope-From: roman.perepelitsa@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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WNTr0f54R6cy/+wHeFQdx8HiPL5WkuY6LFxSE+WHuL4=; b=kkSpOLk6yGuyb6Rf8c8V9PLMztVSivi+0f4j4VxWsb1UqNg464/g2RWHPOyqi5i77x rw9VSSpHm1kcX9ucpPnfYpkHBJnXspbAkHtPFDH9sGMxHIUVtBOEbY2yC8UZ3C2ImVFs aD4AZ6GR7by+p7berYvYQLL3zDVAAoCpdDo8e/l9i9sWgOpG+qzZjmEl5/e/+IKNtdrt NO8pPoY2qzjyAEkLPqFvsY4MD7PYGibG46zCVWtrAuuIuIgSuLr41UmxqmzQmOH6fqjd FGHHkxu6yNQNoxjlg9Mt59ulrhkY8XzEXCl6a7hhWjpfCM7uYdC0+oaDOMQ2I+jUs/9Y PCmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WNTr0f54R6cy/+wHeFQdx8HiPL5WkuY6LFxSE+WHuL4=; b=fskkXZz7/2ZmzIa1UbbpNenW+Vi6NHTjZ0ccdDGF3fOvuCI1V+Jt5PjpZUVH5h5B1I DWfD5JcHmFM/K+XG0xzMgi4o3x4urNTnfRCP/0b+ue6Y7NtOk7JjrfO76UsyKipuHiDL CSwuUTSjtNSeQ6fx+NLB1iFdU409rf8JZ5PwP8TapUvxrcyfq1tfGpHFNNAJdznwUuCP Imj+1bxEp24DBaTYkK3dPKTIwuzSMoAzwkZ3+QqA5Qdg8k1WAinwf0ctGxWg0u0GjWkt Voc3L2Jt7WnPBczmSyNmk4LO0vJLXCIIi2zCblfc7zQZc7sLd5LdOB6S41siQswZse0k noMQ== X-Gm-Message-State: APjAAAW8c8p+EQBgEYwKEF9cdpczxB85tyH3In3QQJgyMCksZPDy7NtK PkwNhg+tmd+ifXzTzYgv4+JyuCv5PV+VLpc0iM0= X-Google-Smtp-Source: APXvYqyAhqlvr13/VLH+f+ctAcqzZYsbJRGJ9OA94uPfK4tToKkaqzsO24jfuAt/FWi0QmjNcdBQ+AOu8LBkUallZ5s= X-Received: by 2002:a24:9bc5:: with SMTP id o188mr4688026itd.112.1560178423683; Mon, 10 Jun 2019 07:53:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Perepelitsa Date: Mon, 10 Jun 2019 16:53:32 +0200 Message-ID: Subject: Re: help adapting bashism for zsh To: "David C. Rankin" Cc: zsh users list Content-Type: text/plain; charset="UTF-8" On Mon, Jun 10, 2019 at 4:44 PM David C. Rankin wrote: > So when I choose zsh as the only shell installed, things will continue to > work. The easy answer is install all shells, but on storage critical systems > has a distinct downside. That's why I am curious whether there is a collection > of information that can help in the transition. On my Linux box sh is 100KB, bash is 1.1MB and zsh is 4.3MB. If you are space constrained, zsh may not be the best choice. Going back to your original question, I'm not aware of any tools for automatic translation of bash code to zsh. It's likely that your requirements are unique. Usually systems that can afford to have zsh can also afford to have bash, so no translation is necessary. Roman.