From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 01 Apr 2010 15:05:29 +0200 Subject: [U-Boot] U-boot env variables parsing In-Reply-To: References: <553166.33158.qm@web50107.mail.re2.yahoo.com> <20100401124745.44144C88C6@gemini.denx.de> Message-ID: <20100401130530.00E69C88C6@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Joakim Tjernlund, In message you wrote: > > > I don't think you ever posted this before. I cannot find any trace of > > such a patch - not in the public archives nor locally. > > I think I did, but this would have been late 2001 or 2002 I think :) > Not 100% sure about the date since the old CVS log looks a bit fishy > after the repo got converted to Subversion. Ah... that was at PPCBoot times, then. Found it: Tue, 11 Sep 2001 15:29:26 +0200 AFAICT the patch was late for a release, but has not been formally rejected. Probably just got forgotten. > > Hm... will this not make escaping impossible? Assume you want to pass > > > > arg=${name} > > > > to Linux. How would you escape this so it does NOT get expanded if > > you run process_macros() arbitrarily often? > > Possibly, I never needed that though. > One would probably need to add an escape char for that. Something > like arg=\${name} Woudn't this then just cause another cycle through process_macros(), where it then gets substitured anyway? [Guess I gotta try this out.] Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Es ist nicht genug zu wissen, man mu? auch anwenden; es ist nicht ge- nug zu wollen, man mu? auch tun. -- Goethe, Maximen und Reflexionen