From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id D5905214CE for ; Fri, 10 May 2024 12:09:03 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id F168A434A2; Fri, 10 May 2024 20:08:57 +1000 (AEST) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by minnie.tuhs.org (Postfix) with ESMTPS id 7707F434A1 for ; Fri, 10 May 2024 20:08:45 +1000 (AEST) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6f490b5c23bso1605710b3a.3 for ; Fri, 10 May 2024 03:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715335724; x=1715940524; darn=tuhs.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oNESslAnS6osgFUnKXPyZdivCyV9M3QHVFjGHh2T/KE=; b=NcnH2AKQYCCcTwDMVMGrVJy20isHrAqOkAa/uAiWv/MSMOVJ1KEt1U6dl+KUa4pgoj fpgjfXiUBkAgfVZ2BHzkuOBpkoLhPQCx98iVXvt/IxiICcL/b6YiEEW0Mv9wQ/mYPLf7 Gw4QwPShNosVPSib7esn7ZTyliHNDQ8asPumLsOvsVT3VO+X8q+A3/MbIIhdgFlC4doA 5TsgG5NLLcjCaNsBM1NUDU49l7+GJ9sQp0HCbvZaOuRgag/byWyV0RW+e754gm2ZEyor Sst3F3YKJjRaubc2uqRKcJOVNK/9+M+fTsGEOXdOWCYmgHoqgbzCDxR8t3tCdmR3QoVF xHuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715335724; x=1715940524; h=cc: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=oNESslAnS6osgFUnKXPyZdivCyV9M3QHVFjGHh2T/KE=; b=kLv6Yq7O61C/Q4U9LilDW3CtcYTadPOu0HSp9JeBV8ZtTCQErkzKZ/EpYDDzf96ne+ 6wCSfL0adtklaOfYJJMSfRBN+zeftkmZ9v38QQIEgtKw/9g/BsXRkYrG1wSUJ7r1fhRB ZHby6K60zkw2dJUGTBHfSfVfod9VASAQnE2IcBt1LckVoHQYQ26lxGfXtygvb+c6d0+9 jBbO5Hcs2O6WU4utxynowTgLlPlUM/nVNndMHAyiebh+nwYRBM+LFXSNt5ZojAdy/qK6 V+BnCjoETlzAerNcDmmp3Yz+Iv+JX4joRVLbigu4xHgKu9V6aADSFa7biav5pGVfvSQ3 iCpw== X-Gm-Message-State: AOJu0Yz9qqbrf8rTRrZ2sxA5b6J/8vQZ8ll6XSWHZmx57z5+z8/Qsc7B ou6XjVx44VLh4V56h9cJQkqpwJKRLCUO3WBmKckVnBQIWIfoJL5qDXid1fOvU+R72DgOk8wCMZK h6x00L6kamUGRSEoYaLldAh7S5Xe5hw== X-Google-Smtp-Source: AGHT+IHV2ggN59+aH2ZQYX+pVPHy2JlpE/yc+LwTCvlcdoCi85q9+MXogz9QWJUkleIf+aNVTM9YnXqLwfSh9SyFfiA= X-Received: by 2002:a05:6a20:7343:b0:1af:dbe7:c976 with SMTP id adf61e73a8af0-1afde115bc1mr2932288637.36.1715335724586; Fri, 10 May 2024 03:08:44 -0700 (PDT) MIME-Version: 1.0 References: <1FECD6DE-3384-406F-8897-8D7C2DAAF636@pobox.com> In-Reply-To: <1FECD6DE-3384-406F-8897-8D7C2DAAF636@pobox.com> From: Rob Pike Date: Fri, 10 May 2024 20:08:33 +1000 Message-ID: To: David Arnold Content-Type: multipart/alternative; boundary="00000000000088e151061816b8d0" Message-ID-Hash: IJRBWR6Y3TSKWHUTADJDFSCJVAAAT7KQ X-Message-ID-Hash: IJRBWR6Y3TSKWHUTADJDFSCJVAAAT7KQ X-MailFrom: robpike@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: nl section delimiters List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --00000000000088e151061816b8d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Didn't recognize the command, looked it up. Sigh. pr -tn seems sufficient for me, but then that raises the question of your question= . I've been developing a theory about how the existence of something leads to things being added to it that you didn't need at all and only thought of when the original thing was created. Bloat by example, if you will. I suspect it will not be a popular theory, however accurately it may describe the technological world. -rob On Fri, May 10, 2024 at 4:16=E2=80=AFPM David Arnold wro= te: > nl(1) uses the notable character sequences =E2=80=9C\:\:\:=E2=80=9D, =E2= =80=9C\:\:=E2=80=9D, and =E2=80=9C\:=E2=80=9D to > delimit header, body, and trailer sections within its input. > > I wondered if anyone was able to shed light on the reason those were > adopted as the defaults? > > I would have expected perhaps something compatible with *roff (like, .\= =E2=80=9D > something). > > FreeBSD claims nl first appeared in System III (although it previously > claimed SVR2), but I haven=E2=80=99t dug into the implementation any furt= her. > > Thanks in advance, > > > > d > --00000000000088e151061816b8d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Didn't recognize the command, looked it up. Sigh.

=C2=A0 pr = -tn <file>

seems sufficient for me, but then that raises the questio= n of your question.

I've been developing a theory about how the existe= nce of something leads to things being added to it that you didn't need= at all and only thought of when the original thing was created. Bloat by e= xample, if you will. I suspect it will not be a popular theory, however acc= urately it may describe the technological world.

-rob


On Fri, May = 10, 2024 at 4:16=E2=80=AFPM David Arnold <davida@pobox.com> wrote:
nl(1) uses the notable character sequences =E2=80=9C\= :\:\:=E2=80=9D, =E2=80=9C\:\:=E2=80=9D, and =E2=80=9C\:=E2=80=9D to delimit= header, body, and trailer sections within its input.

I wondered if anyone was able to shed light on the reason those were adopte= d as the defaults?

I would have expected perhaps something compatible with *roff (like, .\=E2= =80=9D something).

FreeBSD claims nl first appeared in System III (although it previously clai= med SVR2), but I haven=E2=80=99t dug into the implementation any further. <= br>
Thanks in advance,



d
--00000000000088e151061816b8d0--