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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6139EC07E96 for ; Tue, 6 Jul 2021 07:46:55 +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 7A622613AA for ; Tue, 6 Jul 2021 07:46:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A622613AA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E34F782C3F; Tue, 6 Jul 2021 09:46:52 +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=1625557613; bh=SnzTazfVc91bHNDWI0YkwmgQegNAMKftI28hXVv/iF4=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GhRvc6xHrRTd348kc8hWs7RyJdNxSGrYFNuvIHvrxHbDNK4o5uGK9PwZaJK0WUuF9 3fbK9u3iFZ0rBJCyq26jioMD83szstst9W3TAqVGjv7PQdSpfFKp6+QHGuLxxSUAlZ M9/xtZCmywUTX2b8pSC5XeL16cMf5NwDFr5mGf/LbQznrmncVjPdIW7ZTqdxjox9Yd /UxPrLYyruiqEXFLejpLzlLLA4HRgbRn+iBtnx99Ed/zaLPT0dePjtDqHGykKW68B3 hEnsTfvtPXEcbaequocbntSX7RvkSnsvvjfWjOX8rSMEXLyqONUXFaMakab19w3sMh Rgg7KQusl78YA== 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 132EA82C10 for ; Tue, 6 Jul 2021 09:46:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1625557611; bh=SnzTazfVc91bHNDWI0YkwmgQegNAMKftI28hXVv/iF4=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=Yp5RKhVnnYTr1NwMGaD46D/+VjI7pudbRbu9peFoP52E07l0e+/FA9sqbyfL7+LGl /lE2LXbo3tRdFPNLXqWlC1hvs/7vw1s9xLPe+bZOP+5ZGkpr3PuTxRGmRwmBP/5VEn F/vqYa83gk5X/7qg865noMAk6+iFeQkn4T0TX7ZBo8p+Y3pCr73C5Vqxl2dmo3a37H fuzHbczU+UYLmzesA/g9Qi5psG+VWPth7YQCuMdGR8yYE3lg0RCAxQfUXx7iqIz3aI Kq19+J9rlQPGrb4MxDSKOPvzw6TMfGtvv42iI7z71G4kajN0COffAHzKDjxF7fnB76 lJ8QHI/oxCagQ== Received: by janitor.denx.de (Postfix, from userid 108) id C1983A0284; Tue, 6 Jul 2021 09:46:50 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id C57B5A003A; Tue, 6 Jul 2021 09:46:43 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id B8E321E1498; Tue, 6 Jul 2021 09:46:43 +0200 (CEST) To: Sean Anderson cc: Tom Rini , u-boot@lists.denx.de, =?UTF-8?Q?Marek_Beh=c3=ban?= , Simon Glass , Roland Gaudig , Heinrich Schuchardt , Kostas Michalopoulos From: Wolfgang Denk Subject: Re: [RFC PATCH 02/28] cli: Add LIL shell MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: References: <20210701061611.957918-1-seanga2@gmail.com> <20210701061611.957918-3-seanga2@gmail.com> <126700.1625223815@gemini.denx.de> <8bbdb7a1-5085-a3b7-614f-12ae9aee8e8b@gmail.com> <18831.1625340810@gemini.denx.de> <20210705191058.GB9516@bill-the-cat> Comments: In-reply-to Sean Anderson message dated "Mon, 05 Jul 2021 15:47:47 -0400." Date: Tue, 06 Jul 2021 09:46:43 +0200 Message-ID: <192152.1625557603@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 Sean, In message you wrote: > > >>> foo() { proc foo {first second} { > >>> echo $1 $2 echo $first $second > >>> } } > > This is not possible. We only have eval (run) as of today. I view adding > functions as one of the most important usability improvements we can > make. Again: this is not an issue with hush as is, but only with our resource-limited port of a nearly 20 year old version of it. Updating to a current version would fix this, in an almost 100% backward compatible way. 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 If you don't have time to do it right, when will you have time to do it over? - John Wooden