X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:to:references:subject :content-type; q=dns; s=default; b=iTdiA44efxSjYfa1NVObgyZnzezfj 9or0SZVMZ2npNEV52EEm5tajUpqGLa7rzkZwjMLj63rmoWk4meTXC8NSuSdlWdTr jtxh9QatAZGtwpdZ3pQJi7WSpgzf4anMGJj8MRv9L/uSRyIB7qvyUvQ4VWzrl40M Gt2B3lxTOKuaPY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:to:references:subject :content-type; s=default; bh=/gdT9PrrH9vfw+AKI2qwTn/0cXI=; b=puQ vCYiCMtmDxL+BpOg32NNol9JyVbU7NnZrV5M8JBL0RoMOKeIHLy45iiLJYgN85da 8no82DMY2E3uNdUPZAb6VdUWmmQ5y8GvfF9JWYl85IEftZkjuIln5XTZaApitM/C Qb8JqUtEAg9X1Am+iEPG1zMGnl8/lYusFbxDLkOw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Csaba, H*c:utf8, H*f:sk:t2CUnSB, Raduly X-HELO: mail-oi0-f43.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:references:subject :user-agent; bh=1bP6vRjgeSTXi5IO7eJ5AcZIsLIHgyiPZhQ0YmQSPk8=; b=FhgE8uMbzqluPSXKy/afjRmPrntVAgAxHXHA3F4Uy0lEXW2c3mcMqKZOckWU6bYwK3 lDgR2mHHa478tjwOxC5ClvXDmXG980VjTXNz5dBSacZMqSwuoqsJnW0whzLBDJs5k1sb 4eA6oxgWoPqD3TIJVv8NNB72BmOP6eelrjpitQ8wk9TBosmrBlyqcEr/EW3PXBIeJzSs fDVFbYD3I9s9XuX1vr/oyQTLnBK2ducPdr6/xm9xqNHFUGosRkfPYuSZUTwzHkOsr6Ab haSEi3omyqv3lSQe4BSABvOBz1JBoDqOq74fP44Vl50MYUMpr8nKEMEKgnnA9WYfCkEE vN+w== X-Gm-Message-State: AMke39nBTSPpdHGyTW4pl0SN5cmS/AL2O0rtn0LMsq8cGIVkJClCXrYiaSgQKku/Jv8wLw== X-Received: by 10.202.53.9 with SMTP id c9mr7462920oia.75.1488199686254; Mon, 27 Feb 2017 04:48:06 -0800 (PST) Message-ID: <58b42005.a40a9d0a.b4b11.d2c5@mx.google.com> Date: Mon, 27 Feb 2017 04:48:05 -0800 (PST) From: Steven Penny X-Google-Original-From: Steven Penny To: cygwin AT cygwin DOT com References: Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1 Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst) On Mon, 27 Feb 2017 11:20:54, Csaba Raduly wrote: > Nice strawman argument. > You seem to assume that Dash implements nothing beyond POSIX (and > hence anything that runs on dash must run on every other shell). This > is not the case. Perhaps you should have read my full post. Here, let me quote myself and link for you: On Sat, 25 Feb 2017 09:08:55, Steven Penny wrote: > #!/bin/bash -> script that follows might have Bashisms > #!/bin/dash -> script that follows might have Dashisms (echo -n, local) > #!/bin/sh -> script that follows should be a POSIX script http://cygwin.com/ml/cygwin/2017-02/msg00320.html So, as I said before and now again, Dash is a minimal shell, similar to POSIX shell. Yes, it is possible to be in a situation like this: - script has #!/bin/sh - script has Dashisms, which can cause problem on POSIX shell However being that "echo -n" and "local" are probably the only Dashisms, that is trivial to fix. Compare to a Bash problem: - script has #!/bin/sh - script has Bashisms, which can cause problem on POSIX shell Even switching from a Bash script to Dash script can be a herculean task, if the script heavily relies on Bashisms like arrays, herestrings, process substitution, etc. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple