From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC382C433EF for ; Tue, 19 Oct 2021 15:57:51 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06C4760F9D for ; Tue, 19 Oct 2021 15:57:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 06C4760F9D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9196182F9E; Tue, 19 Oct 2021 17:57:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634659069; bh=TYqPxcKQ1uZ1TzTWHpnpnjtIoX6P2aS9W2FVIu6VxSc=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=aP1f+f1EF32ulsPrh2/69iSgYf0082Dz65LVm8O2FsCogGzrC4U3Kj9msldOTgXfc fdqskVIuCiuy8Bkr00/M7tfBN76e4i2ZsojS2osCdq83kBoV+DDbFCXsJKKSGzBWQo u/DzFul/0HKXbazPYRdM1r8AJoCTLTtfscmzCg8entduNHF6UF5v+TB85QX0H99Tq/ 8/oZ7B66kLJBL/JOeTXQDzmgaJ73H0r0ArEMkiSM4ZeEiLa5QY5Iw7271gyEg3ty9D cJct0Zb/itqxCQ83mZAoC8L7+D75ac7fPvSh02M9BPq3Gk/Jw7DKJ3icrMkJcAMvaM QfKip00o7qDHQ== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 262E880F1A for ; Tue, 19 Oct 2021 17:57:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634659067; bh=TYqPxcKQ1uZ1TzTWHpnpnjtIoX6P2aS9W2FVIu6VxSc=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=lNx9QFmXX4qt4csmoYg7xJXPkUyQJIIEL4O9SR2I1v2WQPkJqfZaUHGxp19duudeY Vbadj1XuB4kNGHWNGgndAKnrOy+wesBRnY1/bjVrl/SW7zTf/nx2h9OSLnf3uECdiQ jFCTyn7zAcfvaYlZK3BClTYjghXLgScZ5KzNRsYZllCUT/ZrHpjS1oRgHnbQ3Au9aI D/hTKOtEwFFMvoDEkxD3voSa4a5EqwZ6UKeKMlRPgc2V+tkTAK2smmz1pLGS6sc2o0 SentAS45l1P3Ypc4xv2w832Lg7+o1dPCIVRLADTD3g1kPSgrKnrdbEuMKMkFszZRbB I2uZulRSB2cFg== Received: by janitor.denx.de (Postfix, from userid 108) id BCE6BA0237; Tue, 19 Oct 2021 17:57:46 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id F16C3A006F; Tue, 19 Oct 2021 17:57:41 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id D7A171E0F1B; Tue, 19 Oct 2021 17:57:41 +0200 (CEST) To: Tom Rini cc: Simon Glass , U-Boot Mailing List , Rasmus Villemoes , Heinrich Schuchardt , Joe Hershberger From: Wolfgang Denk Subject: Re: [PATCH v8 4/8] env: Allow U-Boot scripts to be placed in a .env file MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <20211019140711.GC7964@bill-the-cat> References: <20211018181322.1181847-1-sjg@chromium.org> <20211018121315.v8.4.Ie78bfbfca0d01d9cba501e127f446ec48e1f7afe@changeid> <20211019140711.GC7964@bill-the-cat> Comments: In-reply-to Tom Rini message dated "Tue, 19 Oct 2021 10:07:11 -0400." Date: Tue, 19 Oct 2021 17:57:41 +0200 Message-ID: <3573042.1634659061@gemini.denx.de> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Dear Tom, In message <20211019140711.GC7964@bill-the-cat> you wrote: > > As much as I and others appreciate that you've written the parser here > in a classic UNIX tool, awk, since a lot of the problems also seem to > stem from having the parser be able to handle previously valid > environment variables, if this was written in Python say, would we have > this problem? A classic tool would be lex ... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de Doing the good deeds is like the grass in the garden. You don't see its growth. But, it does by days. Doing the wicked deeds is like the hone. You don't see its damage. But, it does by days. - Buddha