From: Colin Watson <cjwatson@ubuntu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts
Date: Tue, 9 Feb 2010 12:54:12 +0000 [thread overview]
Message-ID: <20100209125412.GP4409@riva.ucam.org> (raw)
In-Reply-To: <4B715875.5040706@gmail.com>
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 [cjwatson@ubuntu.com]
next prev parent reply other threads:[~2010-02-09 12:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 5:12 [PATCH] --foo bar cmdline argument parsing support for grub-* scripts BVK Chaitanya
2010-02-07 15:02 ` Colin Watson
2010-02-08 16:23 ` BVK Chaitanya
2010-02-09 12:43 ` Grégoire Sutre
2010-02-09 12:54 ` Colin Watson [this message]
2010-04-12 17:30 ` BVK Chaitanya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100209125412.GP4409@riva.ucam.org \
--to=cjwatson@ubuntu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.