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_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18529 invoked from network); 5 Jul 2021 03:04:39 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2021 03:04:39 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id F41B99C9F8; Mon, 5 Jul 2021 13:04:37 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 212029C9F1; Mon, 5 Jul 2021 13:03:57 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="Et+sFKtq"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 5407B9C9F1; Mon, 5 Jul 2021 13:03:56 +1000 (AEST) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by minnie.tuhs.org (Postfix) with ESMTPS id 367459C9F0 for ; Mon, 5 Jul 2021 13:03:55 +1000 (AEST) Received: by mail-qk1-f177.google.com with SMTP id a4so7775746qkn.11 for ; Sun, 04 Jul 2021 20:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6O1hevbM0tsH8f034TMOgIGQT8p/Nb+dzcG8eht9tL4=; b=Et+sFKtqXIUXOHdoVSRgRMN82qWRMH2xdwOd8DSgNRf2sqH6KaVP/ojCMvsG6FzxQD FgMziCHsNN6Xhs4NGC9NnCw1SXyLY7nx15+g+0CWABYbv7CqLir9Z4buSzYNgcPn3EGD FZ9P0hpSvzD035kwmk0xmVRUFJ108IyFVsecU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6O1hevbM0tsH8f034TMOgIGQT8p/Nb+dzcG8eht9tL4=; b=UYlJ53ENqVQXM0w3Tj3VNXVd75XPzwJbUpQJWP9rWyh9bHgWMx32Lc2DAjajfBT4JY 6nsqv/xf54WuS2o0O3KswQgrc1h3Uxu98yr2BvYNhTSd11dxAZ15LYB7CLuCZW+ntqgE xcjr/fTU3GIpxL6VCIQCsp+KZgAxMGBC6VwIYeNuv2a0MfUvQInPYHA5O0JpkUqETZ0m or7ZbNpmu6g7GFBvmVDAfWfcgDdPh7xGwKFc+Akn2DKiwCeXSfCTqJ5O7X1i0CCcjCHD oW0H7dskpcki+YGHFqvzuqceEwdIpCh7ySIGZtC3Yv7BM1++H6CQ6DBZZ1ycA+YfMzeS JbOw== X-Gm-Message-State: AOAM533DIKt3fHCimsQdMlbnnoc5eIl4GDNUX5sSWT/hhwXMTPcJVWrz XBYE4AFTDblud2r1isPb9lKIB+jsew4ZK+ofVrDyBQ== X-Google-Smtp-Source: ABdhPJxCJvaQUiXKzyWBOMHU5elIREm7dpN1i1j2cXSMjrZMSjGyJ+ZbRTIust5slhPV4SHJnLuVhrHKaEbyVTaPYKo= X-Received: by 2002:a37:66d8:: with SMTP id a207mr11862662qkc.133.1625454234229; Sun, 04 Jul 2021 20:03:54 -0700 (PDT) MIME-Version: 1.0 References: <06737C14-1122-4832-BCAA-A37B242F69E4@me.com> In-Reply-To: From: Clem Cole Date: Sun, 4 Jul 2021 23:03:43 -0400 Message-ID: To: Warner Losh Content-Type: multipart/alternative; boundary="0000000000003aee3205c6578e61" Subject: Re: [TUHS] [tuhs] The Unix shell: a 50-year view X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society mailing list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000003aee3205c6578e61 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Right. A dyslexic typo sorry doesn=E2=80=99t That was my point. He needed a tool and didn=E2=80=99t have one so he wrot= e a singular tool to solve the problem. We now consider that tool pretty much standard equipment On Sun, Jul 4, 2021 at 10:51 PM Warner Losh wrote: > > > On Sun, Jul 4, 2021, 8:39 PM Clem Cole wrote: > >> Noel. Pls check the TUHS archives and I think you will see sed does yet >> exist in 6th edition when Joy wrote head in 1977. Certainly not yet at >> UCB. >> > > V6 doesn't have sed. > > Warner > > On Sun, Jul 4, 2021 at 9:34 PM Noel Hunt wrote: >> >>> > But note that when wnj wrote head(1), Joy followed the >>> > famous `Unix Philosophy' of doing one (small) job >>> > well. Which means he did not add a feature *i.e.* >>> > abusing, an old program, like cat(1), and add some new >>> > switch to it that that told the program stop outputting >>> > after n lines. Instead Joy wrote a simple new tool. >>> >>> He didn't need to abuse any existing program by adding new >>> flags or the like; unless I am mistaken, `sed Nq', for some >>> number `N', does exactly what `head -N' would do on a single >>> file, obviating the very need for head(1). >>> >>>> -- >> Sent from a handheld expect more typos than usual >> > -- Sent from a handheld expect more typos than usual --0000000000003aee3205c6578e61 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Right.=C2=A0 A dyslexic typo sorry doesn=E2=80=99t=C2=A0<= /div>

That was my point.=C2=A0= He needed a tool and didn=E2=80=99t have one so he wrote a singular tool t= o solve the=C2=A0problem.=C2=A0 We now consider that tool pretty much stand= ard equipment=C2=A0

On Sun, Jul 4, 2021 at 10:51 PM Warner Losh <imp@bsdimp.com> wrote:


On Sun, Jul 4, 2021, 8:39 PM= Clem Cole <clemc@ccc= .com> wrote:
Noel.=C2=A0 Pls check the TUHS archives and I think you will see sed doe= s yet exist in 6th edition when Joy wrote head in 1977.=C2=A0 Certainly not= yet at UCB.=C2=A0=C2=A0
V6 doesn't have sed.

Warner

On Sun, Jul 4, 2021 at 9:34 PM Noel Hunt <noel.hunt@gmail.c= om> wrote:
=
>= But note that when wnj wrote head(1), Joy followed the
> famous `Uni= x Philosophy' of=C2=A0 doing one (small) job
> well.=C2=A0 =C2=A0= Which means he did not add a feature *i.e.*
> abusing, an old program= , like cat(1), and add some new
> switch to it that that told the pro= gram stop outputting
> after n lines.=C2=A0 Instead Joy wrote a simpl= e new tool.

He didn't need to abuse any existing program by addi= ng new
flags or the like; unless I am mistaken, `sed Nq', for somenumber `N', does exactly what `head -N' would do on a single
f= ile, obviating the very need for head(1).

--
Sent from a handheld expect more typos than usual
--
Sent from a handheld expect more typos t= han usual
--0000000000003aee3205c6578e61--