Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results.
- Date: Thu, 12 Jun 2008 00:01:16 -0700 (PDT)
- From: Ardi <bozon42@xxxxxxxxx>
- Subject: Re: [Mingw-msys] getopt error in msys Version 1.0.10
| Hello, I have moved getopt.exe to d:\x_getopt dir, updated path but it did not help. I have played with getopt and it gives strange -- sign if I use f.e: The miktex_update script seems to me not able to read correctly the following: LONGOPTS="help,broadband,verbose,version,local,online,repository:" SHORTOPTS="hbvlor:" ARGS=`getopt -l "$LONGOPTS" "$SHORTOPTS" "$@" 2>$ERROR` if [ $? -ne 0 ] then echo -e "`basename $0`: Could not process command line arguments.\nUse the '--help' option for explanation." echo -e "ERROR:\n`cat $ERROR`" exit 1 fi For example: $ getopt.exe -l "ee" "rr" "yy" "ii" gives: -- 'yy' 'ii' It seems it cannot read $LONGOPTS" "$SHORTOPTS" "$@" properly. When I define: #>SHORTOPTS="hbvlor:" #>LONGOPTS="help,broadband,verbose,version,local,online,repository:" #>getopt -ou "$LONGOPTS" "$SHORTOPTS" "$@" -- 'help,broadband,verbose,version,local,online,repository:' 'hbvlor:' the "--" sign remains there. Is it correct? Regards, Ardi --- On Wed, 6/11/08, Cesar Strauss <cestrauss@xxxxxxxxx> wrote: From: Cesar Strauss <cestrauss@xxxxxxxxx> |
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Mingw-msys mailing list Mingw-msys@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/mingw-msys
- Follow-Ups:
- Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results - findutils.
- From: Max T. Woodbury
- Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results - findutils.
- References:
- [Mingw-msys] Reconstruction of MSYS-1.0.11 test results.
- From: Max T. Woodbury
- [Mingw-msys] Reconstruction of MSYS-1.0.11 test results.
- Prev by Date: Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results.
- Next by Date: Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results.
- Previous by thread: Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results - fileutils.
- Next by thread: Re: [Mingw-msys] Reconstruction of MSYS-1.0.11 test results - findutils.
- Index(es):