Vladimir 'phcoder' Serbinenko
|
5e619f408d
|
Fix wildcard escaping.
* grub-core/commands/wildcard.c (wildcard_escape): Moved from here ...
* grub-core/script/execute.c (wildcard_escape): .. to here.
Don't escape dot.
* grub-core/commands/wildcard.c (wildcard_unescape): Moved from here ...
* grub-core/script/execute.c (wildcard_unescape): .. to here.
Don't escape dot.
* grub-core/script/execute.c (gettext_append): Always escape.
(grub_script_arglist_to_argv): Always handle escaping/unescaping.
* grub-core/script/yylex.l: Don't cut away the escaping.
* tests/grub_script_echo1.in: Add tests with wildcard.
|
2012-06-08 22:54:21 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
eea1e26e52
|
* grub-core/script/yylex.l: Ugly fix for "\\\n ".
* tests/grub_script_echo1.in: Add tests.
|
2012-05-08 23:20:02 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
9fdb2d7b11
|
Fix handling of leading spaces in scripts.
* grub-core/normal/cmdline.c (grub_cmdline_get): Don't strip leading
spaces.
* grub-core/normal/main.c (grub_file_getline): Remove all preprocessing
other than skipping \r. All users updated.
* tests/grub_script_echo1.in: Add space-related tests.
* util/grub-menulst2cfg.c (main): Remove useless space skipping.
|
2012-03-11 14:43:18 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
f8a9ab1245
|
* grub-core/commands/wildcard.c (match_files): Handle filenames
without explicit device.
(wildcard_expand): Don't add explicit device if not already present.
* tests/grub_script_echo1.in: Add a new expansion test.
|
2012-01-24 13:34:36 +01:00 |
|
BVK Chaitanya
|
00a8a3eee3
|
merge with mainline
|
2010-08-12 14:43:34 +05:30 |
|
BVK Chaitanya
|
7b466fbb9e
|
logical linebreaks support
|
2010-06-12 12:23:49 +05:30 |
|
BVK Chaitanya
|
0500dfd1b4
|
cleanup & a fix
|
2010-06-12 12:02:06 +05:30 |
|
BVK Chaitanya
|
2f169df5a4
|
updated echo1 test with multiline strings
|
2010-06-12 11:25:44 +05:30 |
|
BVK Chaitanya
|
a0167e8bdf
|
rewrote arglist to argv conversion and added $@, $* support
|
2010-05-12 10:19:12 +05:30 |
|
BVK Chaitanya
|
547e494f1b
|
lexer-rewrite rebase commit
|
2010-01-22 19:07:27 +05:30 |
|