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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8699 invoked from network); 5 Jul 2021 01:35:04 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2021 01:35:04 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id E539C9CA45; Mon, 5 Jul 2021 11:34:59 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 444CB9C9F3; Mon, 5 Jul 2021 11:34:16 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Zl1qtAl+"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 62C379C9F1; Mon, 5 Jul 2021 11:34:14 +1000 (AEST) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by minnie.tuhs.org (Postfix) with ESMTPS id ABAD49C9F0 for ; Mon, 5 Jul 2021 11:34:13 +1000 (AEST) Received: by mail-ed1-f50.google.com with SMTP id l24so21629531edr.11 for ; Sun, 04 Jul 2021 18:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LhLRorKBL81/jkwBHPI5+5K7jI014wLaMFGUoHM08xo=; b=Zl1qtAl+/xun5i8j8wK0j9rHdpwrawaLaCQxko4pHxY7avW4YC4aDSkyHcJteAISVz Hlw9LmA4FzdW16Y9QRUnlEAIxe4DOqtArLzgp8/8viZRwH1qAGpAE0SovChKy3nudh+g VXHymt1whJwrOqjEdjnBuA36sUu0vMP9XLQJFcJx+f04S8Wv2BSObYzjrB3OAftnGDjd UrjXpnf2f6wjoQ41d+GvHd+KvsPx0KwhgHRizK2R0sioTdqbmQODJ8SINeQPA9rWWGwa JbmOWQhLogZDre8IspsUUqp/h0cibndTPIbLz7SVAwvQ677sOfhSry1a6WCabTJcmC27 6DzA== 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=LhLRorKBL81/jkwBHPI5+5K7jI014wLaMFGUoHM08xo=; b=ble196abOdnQEfG57NatJrz+yOoTHSVfksPe4gWP4BbjMhojE2K4leXt/BFU3FI7T6 Z5KtlF8q+hPeMJYU2iio9NMbCDEOZAYbBFQbxSp8yC7aGwdDXJ8jdqIN9NBf1qEUyZF5 eUWJHVgnzxhleN9WmKQ6eRI02Uc6t4A9iYVYXlmIOVIew0TFL2eloSFwHALJ04/tgiAf +bLVXGkmJZkjhDGpVtzew5bTkIH6vikyTDcGFLxWOssmykkH26F0xBxCKoP4rUkpib31 c8uR8KCgz7PRGAbOLxeL2ipORzzxoxtonB42a7ZQIEppSQW/p4gVWMYzWukwLbUVxsxg mtTA== X-Gm-Message-State: AOAM533hVFafRMP0xy5RMunoQZhM2VIfM7fY/0j+169X1u5yflXPnnR8 ByxU3M1uiNAnNHOvNtKA0S+Uf/uLLpe4FVudAJc= X-Google-Smtp-Source: ABdhPJzkoZKVdTnvOp+qs/1FhFA4QK1uTJxwVo1sN5jo+/45GNdAUNvDdxDf/uUd6+SGCUXRBqAj5/g/yNf4JdpZavE= X-Received: by 2002:a05:6402:786:: with SMTP id d6mr13002992edy.306.1625448852266; Sun, 04 Jul 2021 18:34:12 -0700 (PDT) MIME-Version: 1.0 References: <06737C14-1122-4832-BCAA-A37B242F69E4@me.com> In-Reply-To: From: Noel Hunt Date: Mon, 5 Jul 2021 11:33:46 +1000 Message-ID: To: Clem Cole Content-Type: multipart/alternative; boundary="00000000000070a09805c6564d16" 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" --00000000000070a09805c6564d16 Content-Type: text/plain; charset="UTF-8" > 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). > --00000000000070a09805c6564d16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
<= font face=3D"monospace">> But note that when wnj wrote head(1), Joy foll= owed the
> famous `Unix Philosophy' of=C2=A0 doing one= (small) job
> well.=C2=A0 =C2=A0Which means he did not ad= d a feature *i.e.*
> abusing, an old program, like cat(1),= and add some new
> switch to it that that told the progra= m stop outputting
> after n lines.=C2=A0 Instead Joy wrote= a simple new tool.

He didn't need to abus= e any existing program by adding new
flags or the like; unles= s I am mistaken, `sed Nq', for some
number `N', does = exactly what `head -N' would do on a single
file, obviati= ng the very need for head(1).
--00000000000070a09805c6564d16--