]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[script] Allow for backslash continuation of script lines
authorMichael Brown <mcb30@ipxe.org>
Mon, 15 Jul 2013 09:13:33 +0000 (11:13 +0200)
committerMichael Brown <mcb30@ipxe.org>
Mon, 15 Jul 2013 09:20:04 +0000 (11:20 +0200)
commitbba5a3902663a52670a47f48980843594af23bcd
treef8a80d195e7f0d652b471f9b924b71558f2733cf
parent3aafe5fc54a06cc5ebc890ef576d89d6e9064633
[script] Allow for backslash continuation of script lines

Allow long script lines to be broken up using backslash continuation.
For example:

   choose --default linux --timeout 3000 os \
      && goto boot_${os} || goto cancelled

Requested-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/image/script.c