This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with getopts


Hi, i have a problem with getopts in sh.exe.

Copying bash.exe to sh.exe resolve the problem, but it introduce another problem:

testing for write permission on a file don't work
on bash.exe
(eg.: [ -w file ] && echo ok don't work )

The getopts problem can be solved in another way ?
There is someone that can help me ? 

Thank.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]