public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Command line arguments
@ 2012-10-30 14:21 chesschi
  2012-10-30 14:28 ` Eliot Moss
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: chesschi @ 2012-10-30 14:21 UTC (permalink / raw)
  To: cygwin

In cygwin, is it possible to pass arguments to a shell script file? I have
installed the latest cygwin with default packages. I found that argument
zero ($0) is correct. However, the number of arguments always returns zero
($#= 0) and $1, $2... are all null even though I did pass arguments.

Any idea? Thanks a lot!



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Command-line-arguments-tp94081.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-11-02 15:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 14:21 Command line arguments chesschi
2012-10-30 14:28 ` Eliot Moss
2012-10-30 14:41   ` K Stahl
2012-10-30 19:30 ` Wynfield Henman
2012-10-31 18:24 ` Brian Wilson
2012-10-31 19:16   ` Andrew DeFaria
2012-10-31 19:40     ` David T-G
2012-10-31 20:29       ` Andrew DeFaria
2012-10-31 21:25         ` Andrew Defaria
2012-11-01 17:54       ` Brian Wilson
2012-11-01 18:01         ` Earnie Boyd
2012-11-01 20:49         ` Andrew DeFaria
2012-11-02 12:36           ` Earnie Boyd
2012-11-02 14:32             ` Andrew DeFaria
2012-11-02 14:54               ` Eliot Moss
2012-11-02 15:10                 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).