|
From: | Jordan Uggla |
Subject: | [bug #36433] Leading spaces after '\' line continuation cause syntax error |
Date: | Tue, 08 May 2012 08:43:51 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.10 (KHTML, like Gecko) Chrome/20.0.1123.4 Safari/536.10 |
URL: <http://savannah.gnu.org/bugs/?36433> Summary: Leading spaces after '\' line continuation cause syntax error Project: GNU GRUB Submitted by: jordanu Submitted on: Tue 08 May 2012 08:43:50 AM GMT Category: None Severity: Major Priority: 5 - Normal Item Group: Software Error Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Release: Bazaar - trunk Reproducibility: Every Time Planned Release: None _______________________________________________________ Details: The following code causes a syntax error in grub but is completely valid and causes no problems in bash: echo \ test Note the space before "test". With a file test.cfg containing the above two lines I can run "bash test.cfg" and it will simply print "test\n" as expected but when I run "grub-script-check test.cfg" I get the following output: error: out of memory. error: syntax error. Syntax error at line 2 I ran into this bug while trying to get bvk's autoiso.cfg working for Super GRUB2 Disk. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?36433> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |