Command line arguments

Tue Oct 30 14:21:00 GMT 2012

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:
Sent from the Cygwin list mailing list archive at

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list