Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 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/