delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | Vidiot <brown AT mrvideo DOT vidiot DOT com> |
Message-Id: | <200605261824.k4QIOQM28046@mrvideo.vidiot.com> |
Subject: | Re: sh script works, zsh script doesn't |
To: | cygwin AT cygwin DOT com (cygwin mail list) |
Date: | Fri, 26 May 2006 13:24:26 -0500 (CDT) |
In-Reply-To: | <4476E0CC.1030901@sh.cvut.cz> from "=?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?=" at May 26, 2006 01:04:44 PM |
X-Mailer: | ELM [version 2.5 PL3] |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
>I think that the problem is the difference between ZSH's parameter >expansion and sh's parameter expansion. I think that your $MUX gets >expanded into single parameter "-a 0", instead of two parameters "-a" >and "0", that you expect. I separated MUX into two separate variables. Believe it or not, things got worse. Now it isn't complaining about the last five items on the command line being wrong, but the option that I split up. When I run the external script that is created on the fly, that starts tsreader just fine. Yet, from within the main script it won't. I'm going to have to set -x within the script so that I can see what it is doing. I ran out of time during lunch to see what that provides. A real brain teaser. MB -- e-mail: vidiot AT vidiot DOT com /~\ The ASCII \ / Ribbon Campaign [So it's true, scythe matters. Willow 5/12/03] X Against Visit - URL: http://vidiot.com/ / \ HTML Email -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |