[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getopt and parameters with spaces



On Tue, 18 Dec 2007 21:09:58 +0100, Frodo Looijaard wrote:

>> I believe that the suggested way to call getopt is 
>> 
>>  eval set -- `getopt -o <options> -- "$@"`
> 
> No, it is actually: 
>   eval set -- "`getopt -o <options> -- "$@"`"
> 
> Note the extra set of double quotes!

Ops, sill me. Thanks for reply Frodo. I'll close the bug report with your
full reply.

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: