Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Thu, 13 Sep 2001 19:55:24 -0400 From: Klaus Steden To: cygwin@cygwin.com Subject: command line args to cygwin from DOS shell? Message-ID: <20010913195523.B95706@cthulu.compt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/