grub-devel
[Top][All Lists]
Advanced

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

Bug in gencmdlist.sh (or is it?)


From: Duboucher Thomas
Subject: Bug in gencmdlist.sh (or is it?)
Date: Thu, 02 Jul 2009 00:34:36 +0200
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

        Hi,

        I was working on some Grub2 module a few days ago and I spent a lot of
time on this. Basically, I was unable to correctly generate the file
command.lst; my new commands simply didn't appeared in it.
        I finally found that gencmdlist.sh is only processing line per line
using sed, so that if one is writing with a different indentation, the
script silently fail. For instance,
> grub_extcmd
> (
>     "foo",
does not produce any output. I am working now with a small script
written in Lua, but it is neither efficient, nor a good idea to add Lua
as a dependency. Perhaps a sed guru can have a look at this?

        Thomas.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpL5HwACgkQBV7eXqefhqg3hwCfX4Fn6icORyZKygqZJo1eqwWH
LSAAnjUCLniZX9pu0OCp4CV7EEjNXAp7
=AKuH
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]