Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: getopt and parameters with spaces

From: T o n g <mlist4suntong(at)yahoo.com>
Date: Tue Dec 18 2007 - 19:14:36 EST


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  -- "$@"`

>
> 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/


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Dec 18 19:15:19 2007

This archive was generated by hypermail 2.1.8 : Wed Feb 27 2008 - 19:01:34 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library