This is the mail archive of the
mailing list for the Cygwin project.
Re: sh script works, zsh script doesn't
- From: Vidiot <brown at mrvideo dot vidiot dot com>
- To: cygwin at cygwin dot com (cygwin mail list)
- Date: Fri, 26 May 2006 13:24:26 -0500 (CDT)
- Subject: Re: sh script works, zsh script doesn't
>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.
e-mail: firstname.lastname@example.org /~\ 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