Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: grub-devel@gnu.org
Subject: Fancy command line parsing
Date: Sat, 22 Oct 2005 00:27:50 +0200	[thread overview]
Message-ID: <87ach2o68p.fsf@student.han.nl> (raw)

Hi,

At the moment I am working on a patch to fix two (related) bugs.  One
bug is that tab completion does not escape spaces, the other is that
it does not take quotes into consideration.

What I did is rewriting grub_split_cmdline.  There are some helper
functions which make handling the command line very flexible.  The
patch is almost ready and I'll explain it a bit when I send it in.

This patch will affect how the scripting support can be implemented.
The parsing can be done using the helper functions I wrote so code can
be efficiently shared.

Serbinenko, are you still working on scripting support?  After sending
in my patch I will explain what the best way is to use this command
line handling for scripting support.  I hope we can talk about this so
we can add scripting support real soon.

The main reason why I send in this email is to prevent anyone from
doing redundant work, so just ignore those two bugs while I am working
on it.  And please do not work on the command line and tab completion
code, it will be changed a lot...

Thanks,
Marco




                 reply	other threads:[~2005-10-21 22:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87ach2o68p.fsf@student.han.nl \
    --to=metgerards@student.han.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox