On Tue, Feb 09, 2010 at 01:43:33PM +0100, Grégoire Sutre wrote:
> BVK Chaitanya wrote:
>> I assume you are talking about /usr/bin/getopt (not libc getopt).
>> /usr/bin/getopt comes with util-linux package (in debian), and yes, I
>> too dont think it would be available on other platforms as bash or
>> coreutils does.
>
> You might want to use the POSIX shell built-in getopts instead of the  
> getopt binary.
>
> http://www.opengroup.org/onlinepubs/9699919799/utilities/getopts.html
>
> This built-in is supported by bash, ksh, NetBSD sh, and surely many  
> other shells.

But it doesn't support long options, so it is useless here.

-- 
Colin Watson                                       [[email protected]]


_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to