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=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 7116721512 for ; Fri, 10 May 2024 18:05:34 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 6C75C434A7; Sat, 11 May 2024 02:05:28 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1715357128; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=n5ASrjiZLVOnOw1ro5LmNCPVv777GF/Fb1hIZnlXP0Y=; b=ZHasnPT7TxdOlYPDj4uJKH+UtVTt6Sc5BSXCwetBqxpt0SpN6HhtSlHdasFw/kQrbqoTBF K5+i9wfIb0glRV5ia+ZjNcDGcoIP/2s3psy2gXM9Rb8DngOxmTUix5PcT5go/NcwWapmPh IdoUue6xNEwv78ZUbn/7tnSP8RZs1ZA= Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) by minnie.tuhs.org (Postfix) with ESMTPS id DFAC64334F for ; Sat, 11 May 2024 02:05:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1715357119; x=1715616319; bh=n5ASrjiZLVOnOw1ro5LmNCPVv777GF/Fb1hIZnlXP0Y=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=rKYjLt3LAfY+h89xir6LvrnhYEEGbwF3gH7CiBLaObP2OYrIHaDjSc2ofivj0Jm9y 3v4F3IKqo/LnsyFRuYqFK8S1zMYMoD4we0qCFQA7YadaZXDGcv4ukb/bSA/aNZybky 296RB4SfWdl+aiMT631RJ93vWL/KMrmeiN2JvmLQqfGmaJICdZRS3HfGz7f3tM47yn OQfI3oXQaY48M6f+b+yrfQX3SeJHVJVKLuv+Ltos4BwZf8XwWiF/+xYzqY/QWLVle6 7338ncQxb9J24TQ2jxtgpsBv/KxUUcxHZzdMV8xPYmksxHpvRdfEjmGci+dcLjeyrh tdQKgyP7Dah2Q== Date: Fri, 10 May 2024 16:05:15 +0000 To: The Eunuchs Hysterical Society Message-ID: In-Reply-To: References: <1FECD6DE-3384-406F-8897-8D7C2DAAF636@pobox.com> Feedback-ID: 35591162:user:proton X-Pm-Message-ID: 44eaf2b859b6a30fd80189ac6f23d8b4bb3b9f5e MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: PXZ7GZVXHDIJZZO6DIDASGN6QE2OMELJ X-Message-ID-Hash: PXZ7GZVXHDIJZZO6DIDASGN6QE2OMELJ X-MailFrom: segaloco@protonmail.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 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: From: segaloco via TUHS Reply-To: segaloco On Friday, May 10th, 2024 at 3:08 AM, Rob Pike wrote: > Didn't recognize the command, looked it up. Sigh. >=20 > pr -tn >=20 > seems sufficient for me, but then that raises the question of your questi= on. >=20 > 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 susp= ect it will not be a popular theory, however accurately it may describe the= technological world. >=20 > -rob >=20 >=20 > On Fri, May 10, 2024 at 4:16=E2=80=AFPM David Arnold w= rote: >=20 > > 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, a= nd trailer sections within its input. > >=20 > > I wondered if anyone was able to shed light on the reason those were ad= opted as the defaults? > >=20 > > I would have expected perhaps something compatible with *roff (like, .\= =E2=80=9D something). > >=20 > > FreeBSD claims nl first appeared in System III (although it previously = claimed SVR2), but I haven=E2=80=99t dug into the implementation any furthe= r. > >=20 > > Thanks in advance, > >=20 > >=20 > >=20 > > d https://www.tuhs.org/pipermail/tuhs/2022-July/026197.html Here's an earlier thread on nl that doesn't answer your specific question o= n the sequences but may provide some background on nl(1). - Matt G.