From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7656 invoked from network); 5 Jan 2023 00:42:52 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 5 Jan 2023 00:42:52 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 957E14247D; Thu, 5 Jan 2023 10:42:47 +1000 (AEST) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by minnie.tuhs.org (Postfix) with ESMTPS id 65ED84246B for ; Thu, 5 Jan 2023 10:42:42 +1000 (AEST) Received: by mail-ej1-f43.google.com with SMTP id m18so86465544eji.5 for ; Wed, 04 Jan 2023 16:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=aWvbq3v58XbXUoexmrV8M49biN+ejLqVvzTzVZwK+P4=; b=pS9B3OBpTw9zUdILS8gWClY/w+AlSAwMJ4zoC9qAvqcZSaWfiuOt5JSAXuC9I0w4LJ /o1UymKikwQYy/wONKlAYAI7lnV5a7WjsFVk74dpf4w35BZFMVlWw8cOkgxqHW46sZQi lj1U/Z9GWHd64vdZPHLJ9ErQkDXTsbJJlxkTnCnpI49LRLL5bHF7CyVaVqj7rIMH8Gf6 kiPSocSwWPk/KvW5qEukLl+ik5hzz4uqAn2qsgZE0uLTg59o4LaqAg4gVlwkg6xv3Kqv VVWk62yguhR3LHFjNzfjkOFfGabEMx0AAuBKL+c8NQbNzN0J33Swb/B+vb+hhXDQAHXq 9zpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aWvbq3v58XbXUoexmrV8M49biN+ejLqVvzTzVZwK+P4=; b=n9fE0wT8gTtSY2lf4UUSVWjyk8DFVQqxB/Ynsvb4LuKubRf68x+5jOsluG0DbqvhOV z3h9N87L6Oh7fvY9xLoeylobK0fzRo5utgPYrvUNT+wV0sKAHz1Qv0b7ifSMVCa/YJFP u9GqA+DWZSQD+40NHFWYyVByBMi5IbzeNhtH5guyGn+lLYh+P5zeFZMWF6B3S/GYqc5v tSdDxVZzgpe89OkkVK09Bda1O+xNeIDnIWwKpf7p8tqJxF1J8rEC08xME+v8N0ac10Jg R6MF5eYGgt3iocUeuBZPtedQ93bOlPkR/2CNHL9knyaGj5EKz0Gdfl6394TScL+n6Bl+ 9/HA== X-Gm-Message-State: AFqh2koQ3Y48F3WiJiGWrkvygnr9o7VdF3ya/yBuLVpNoJ7a/Iox8zWb U/UnABY9mgrlpWHFeO9DZzRxdC54GtUatIla6bB7AJvh X-Google-Smtp-Source: AMrXdXsky+9Rly8BviQZBqDdFEeGgLrTMwziir6pbDmDnJqGcP5rl0ZDaKIw5WzLYvnc3QY5xHYglDOTPVr/B/mNigc= X-Received: by 2002:a17:906:2854:b0:7c1:5ffa:c804 with SMTP id s20-20020a170906285400b007c15ffac804mr6349960ejc.183.1672879300396; Wed, 04 Jan 2023 16:41:40 -0800 (PST) MIME-Version: 1.0 References: <20230103201900.oR1Qq%steffen@sdaoden.eu> <325DF7E4-37BE-4432-9447-0B392B57DC69@iitbombay.org> <42B6E514-D210-49D3-A103-351F94563852@gmail.com> <20230104151952.7C2542064E@orac.inputplus.co.uk> <2b630b83-11de-eff1-d458-d8d145d9f19d@gmail.com> In-Reply-To: From: Adam Thornton Date: Wed, 4 Jan 2023 17:41:29 -0700 Message-ID: To: The Eunuchs Hysterical Society Content-Type: multipart/alternative; boundary="00000000000073ccfb05f17990b8" Message-ID-Hash: 2456PAMLKKDWWELIFVPHPWNHXBGRR2SJ X-Message-ID-Hash: 2456PAMLKKDWWELIFVPHPWNHXBGRR2SJ X-MailFrom: athornton@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: A few comments on porting the Bourne shell List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --00000000000073ccfb05f17990b8 Content-Type: text/plain; charset="UTF-8" I was today years old when I learned that GNU sort has a -h option. Which doesn't mean "help" but means "use human-friendly units." Except I sort of derived its existence from first principles. Someone wanted a way to find disk hogs (they were on a Linux box), but also wanted SI units, and I said to myself, "self, doesn't that sound like exactly the sort of baroque and vaguely nauseating option that GNU would add to sort?" Turns out it is. Well, I mean, the MacOS man page just says that -h is an extension to POSIX (yes, it's there on MacOS too), but I will eat a small hat of mine if it didn't come to sort via GNU. Adam On Wed, Jan 4, 2023 at 5:07 PM John Cowan wrote: > > > On Wed, Jan 4, 2023 at 3:47 PM Alejandro Colomar > wrote: > > I wish shells didn't supoprt globbing, and that glob(1) would be a >> standalone >> program still today. It would simplify much of the quoting issues if >> most >> characters were just characters to the shell. >> > > I like the way the rc shell works: globbing is done, but any word in > single quotes suppresses all interpretation (double quote has no meaning) > --00000000000073ccfb05f17990b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was today years old when I learned that GNU sort ha= s a -h option.=C2=A0 Which doesn't mean "help" but means &quo= t;use human-friendly units."

Except I sor= t of derived its existence from first principles.=C2=A0 Someone wanted a wa= y to find disk hogs (they were on a Linux box), but also wanted SI units, a= nd I said to myself, "self, doesn't that sound like exactly the so= rt of baroque and vaguely nauseating option that GNU would add to sort?&quo= t;=C2=A0 Turns out it is.

Well, I mean, the MacOS = man page just says that -h is an extension to POSIX (yes, it's there on= MacOS too), but I will eat a small hat of mine if it didn't come to so= rt via GNU.

Adam

On Wed, Jan 4, 2023 = at 5:07 PM John Cowan <cowan@ccil.org<= /a>> wrote:
<= div dir=3D"ltr">

=
On Wed= , Jan 4, 2023 at 3:47 PM Alejandro Colomar <alx.manpages@gmail.com> wrote:

I wish shells didn't supoprt globbing, and t= hat glob(1) would be a standalone
program still today.=C2=A0 It would simplify much of the quoting issues if = most
characters were just characters to the shell.

I like the way the rc shell works: globbing is = done, but any word in single quotes suppresses all interpretation (double q= uote has no meaning)
--00000000000073ccfb05f17990b8--