delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/13/19:55:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 13 Sep 2001 19:55:24 -0400
From: Klaus Steden <klaus AT compt DOT com>
To: cygwin AT cygwin DOT com
Subject: command line args to cygwin from DOS shell?
Message-ID: <20010913195523.B95706@cthulu.compt.com>
Mime-Version: 1.0

Hi,

I hope this question hasn't already been asked, but I'm busting my brain
trying to figure something out ...

All of our tools are wrapped using sh tools, so for our W32 machines, cygnus
is the obvious choice.

The cygwin dir isn't part of the default NT path, so all scripts are run
through bash based on the .sh extension association.

However, that scenario doesn't seem to be passing command line arguments
correctly. i.e.

Z:\> TBrender.sh -s 50 -e 51 scenes/dynamics/a_test.mb

$0 gets set ... but $@, $*, $1, etc. are empty.

I'm sure I'm doing something wrong, but I'm not sure what that is. Can anyone
shed some light on this situation?

thanks,
Klaus

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019