Hi,

I am observing a strange behavior when passing boot arguments with a
backslash to the kernel (the multiboot cmd_line via the multiboot
command in grub.cfg). I would like to pass foo\bar to the kernel, but to
no avail. I tried:

foo\bar gets passed as foobar
foo\\bar gets passed as foo\\bar
'foo\bar' gets passed as foo\\bar
"foo\bar" gets passed as foo\\bar

Note that the backslash gets doubled when I try to escape it.

I am using grub 2.02~beta2, revision
bc220962e366b1b46769ed6f9fa5be603ba58ab5.

How does one pass foo\bar so that the back slash does not get eaten or
doubled?

Thanks,
Jakub

_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to