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=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 940AEC07E96 for ; Thu, 8 Jul 2021 04:47:24 +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 C34B961CCB for ; Thu, 8 Jul 2021 04:47:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C34B961CCB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 66B6F83146; Thu, 8 Jul 2021 06:47:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ghvF+VmZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B231F83146; Thu, 8 Jul 2021 06:47:20 +0200 (CEST) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BDA7A83146 for ; Thu, 8 Jul 2021 06:47:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x72a.google.com with SMTP id b18so4480543qkc.5 for ; Wed, 07 Jul 2021 21:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lDokInLPRSVVNX2UZbL5t3vBFo/k1OU0eGXBHC8exac=; b=ghvF+VmZPx8ViR1U69Qc2xwX3HSoMqJUp95jBhHVmRwaRfM8m+UfRZBNuwpG5XwpGo QdhXnfJeZS1mR4bJ9Ghu6bsnPJfP/EAGBdoiCDZ3BLAvaiWQdjoXxuFYnOuOCXGZNIpm 7cTeFOLiNhUpprQwE68a4NJEhxa7Kb0HXjFp7niKD7wXajgFrgs0o+o/csOqrZF0vZuc UYsoXHn42SnOqt0p4TXtqSTJElNeh4Y+Qize9ceXKZ0zK7H0EkLjObQoC9gSqD9CFCxJ n3uPOSAbj1Vddhcao7yaCKM4STujC2q0ymobqIsM3Dp8fZ+39Pr3x2lb0JnQFNyWn7+Y sqJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lDokInLPRSVVNX2UZbL5t3vBFo/k1OU0eGXBHC8exac=; b=OY8P+eiHmgdJxROdQyq0kbqwSlQANiKRUZmyK74ci1+Ze12wEgBpsS5UVFIZIOTOSP tt1lKfYIgqzCy8rCcRBUeSPa2oaScl4iJHPWkKIGqMl/txE6CvRwBOmghQW6ZrCCdxNB 6xilZA4Of7YNgwZ7RBqKV2iv9QihEZYBAOpFEE/lVoguc+iXdmHOIGTDt0sK6sqAdEEK xGE4aKcOnpwDdOrdOHZ0jlRRTIzErztk4TO22HWUGc+ppRIxBJg/KhY0+NPDkDffdmEk xT3f0Tys3iO73IuoFUd/cxnCh57IBGICj60rgo9fjGLdWrKgnwEEWVBB0GJ53mO90Aot 2HeA== X-Gm-Message-State: AOAM530mIgGxjbZjT5G6f1KZY1pjAKnJVH1dmzz3HUFDUAPhf6R2+7PC bzxRESoynZ731K5oUOPxC2c= X-Google-Smtp-Source: ABdhPJzaFbhwWGirsoHQaakVdpuc1vhJwN/DaBWm46SpmJNajwwuJTVCrBxjPXNyHbDeCIu2K03NSw== X-Received: by 2002:a05:620a:2230:: with SMTP id n16mr28930317qkh.155.1625719636675; Wed, 07 Jul 2021 21:47:16 -0700 (PDT) Received: from [192.168.1.201] (pool-74-96-87-9.washdc.fios.verizon.net. [74.96.87.9]) by smtp.googlemail.com with ESMTPSA id x11sm519138qkj.50.2021.07.07.21.47.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jul 2021 21:47:16 -0700 (PDT) From: Sean Anderson Subject: Re: [RFC PATCH 05/28] cli: lil: Rename some functions to be more like TCL To: Wolfgang Denk Cc: Simon Glass , U-Boot Mailing List , Tom Rini , =?UTF-8?Q?Marek_Beh=c3=ban?= , Roland Gaudig , Heinrich Schuchardt , Kostas Michalopoulos References: <20210701061611.957918-1-seanga2@gmail.com> <20210701061611.957918-6-seanga2@gmail.com> <163753.1625507898@gemini.denx.de> <7143cb1e-4061-3034-57b9-1a12753fa642@gmail.com> <192241.1625557859@gemini.denx.de> Message-ID: Date: Thu, 8 Jul 2021 00:47:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <192241.1625557859@gemini.denx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 On 7/6/21 3:50 AM, Wolfgang Denk wrote: > Dear Sean, > > In message <7143cb1e-4061-3034-57b9-1a12753fa642@gmail.com> you wrote: >>> >>> You complain that the existing port of hus has a number of severe >>> limitations or bugs which have long been fixed upstream, >> >> The bugs are fairly minor. The particular characteristics of Hush have >> not changed. These characteristics make Hush difficult to adapt to the >> limitations of U-Boot. When we cannot support the basic abstractions >> expected by Hush, the shell will necessarily change for the worse. > > This is not true. Just have a look what hush in a recent version of > Busybox offers. Busybox runs in a Linux environment. Many of its features rely on the core functionality provided by Linux, which we do not provide in U-Boot. This is what makes porting features difficult. > >>> but cannot be easily fixed in U-Boot >> >> Because they are core to the design of Hush (and other bourne derived >> shells). > > Oh, this is an interesting opinion. I doubt if a majority (or even > a significant percentage) of U-Boot users share it. If you were > right, there would be far less users of bash (or other "bourne > derived shells"). Guess which percentage of users of UNIX operating > systems is using a Tcl based command interpreter as their login > shell? And yet, this is not the field we compete in. While bourne-style shells can take advantage of a multi-threaded environment, embedded shells tend to implement a much wider set of languages. See [1] for a survey of examples. --Sean [1] https://github.com/dbohdan/embedded-scripting-languages