This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 22 Feb 2017 20:20:33 -0800 (PST)
- Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1
- Authentication-results: sourceware.org; auth=none
- References: <announce.327710ac-2397-1929-0675-978d3fc356f3@redhat.com>
On Fri, 17 Feb 2017 07:50:34, "Eric Blake (cygwin)" wrote:
For now, there are no immediate plans of replacing /bin/sh
with dash, but the possibility remains for the future.
I am a fan of this. Debian does this already, and it would dramatically speed up
shell scripts:
$ cat alfa.sh
x=400000
until [ "$((x -= 1))" = 0 ]
do :
done
$ time bash alfa.sh
real 0m5.735s
$ time dash alfa.sh
real 0m1.112s
Dash can handle large scripts; I am already using it with one (545 SLOC):
http://github.com/svnpenn/sage/blob/master/sage
--
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