From: Michael Walle Date: Thu, 12 Jan 2012 22:51:48 +0100 Subject: [U-Boot] [PATCH] cmd_source: introduce run_script() In-Reply-To: <201201101840.04925.vapier@gentoo.org> References: <1326236659-6257-1-git-send-email-michael@walle.cc> <201201101840.04925.vapier@gentoo.org> Message-ID: <201201122251.48510.michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Mittwoch 11 Januar 2012, 00:40:04 schrieb Mike Frysinger: > although i wonder if it'd be possible to merge this into existing > run_commands2() ... do we allow newlines now in variables that get run ? mh if the hush parser is enabled this seems to be true. eg. source() and run_commands2() use the same parse_string_outer(). btw. shouldnt set source() FLAG_EXIT_FROM_LOOP, too? i'm trying to unify things and just noticed this. -- michael