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_FONT_LOW_CONTRAST,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28019 invoked from network); 23 Jul 2022 17:37:25 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 23 Jul 2022 17:37:25 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 21A7D406D9; Sun, 24 Jul 2022 03:37:18 +1000 (AEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by minnie.tuhs.org (Postfix) with ESMTPS id B8B204014F for ; Sun, 24 Jul 2022 03:37:12 +1000 (AEST) Received: by mail-wm1-f50.google.com with SMTP id i205-20020a1c3bd6000000b003a2fa488efdso1155328wma.4 for ; Sat, 23 Jul 2022 10:37:12 -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=7+cMcc50tUZDZ7f25yYI14fH0VMcOuXIgzKDlwTuwKs=; b=PR59pOy2Ugs4Cyqo/4mh86lwr6tfJBGKD2TvWS3C2ceLA6baHqZb7lRtKA0ZQjBTOf BRcPqTFyr6CkAtJr1LnDyRAltyXBh/POJ6uCcOl5AoLYp4SQx8zaRQH0pJLlK0ffI5DM TmIBrz0xyxovOwGgTA2gI5SiCIQFfReBx5mQQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7+cMcc50tUZDZ7f25yYI14fH0VMcOuXIgzKDlwTuwKs=; b=jdTiLZBxLA5EfI3fzJJEX2j9jruxE82YpjOzLRlqs0ZQo0qt2DSTk+tqJPX9Tknbs1 Wefn/09CrSmgc2szptIo4n6qv/hSo4bnKUtczrTQl17ucbCQVlhO0QenvAzQ9AZfZQUv iS+VWm4lL4DnPdLgct/drmzXZGQEyCSiMBMqWB/jmswANP+uWu2da41J52N42DdLQHfN bKnJvj5fpXSMiT8sNTgVGBghMB1mLDfBw7qQKONNt0GnkWWjF4nOR6KOgeVZ29LIyzO+ qa+rH4VzjemT3J+lqk6DymI0mN4DtU59U8VQfq/2LjNnP3aM6DMlIAGwpIbl04jIHbEG YePg== X-Gm-Message-State: AJIora8FYLb1pI8vPv4tAA77B4rxkY6SGeUuQWV5wNMqi1svHl6tmgHG KT2VT3TygyTlGW41CjPux28b1VQJgL/pCxcP0RgjoA== X-Google-Smtp-Source: AGRyM1uOM9QbZkOxt/zhHZbzAu69R10dvuFN7/hOgMs9/NDOAcyFOpr89G2Ir2fNjnYCwgE0UOhtA/J5A/SU4GO0G+E= X-Received: by 2002:a05:600c:3b9e:b0:3a2:feb5:2b43 with SMTP id n30-20020a05600c3b9e00b003a2feb52b43mr16096938wms.26.1658597770693; Sat, 23 Jul 2022 10:36:10 -0700 (PDT) MIME-Version: 1.0 References: <1oF87S-4zW-00@marmaro.de> <8NgHeeJiYEBE0zhtd9RdKIeYWcAwtxsnAj7YhVIvLpz-yt0__LeFvVzNNGgSNTeDGnVQy-qxkoHWvmRi84ybYyNAiMRDJuVoAaEG96UAu4s=@protonmail.com> <83CADD1C2866986767CAF9251E6EF882.for-standards-violators@oclsc.org> In-Reply-To: <83CADD1C2866986767CAF9251E6EF882.for-standards-violators@oclsc.org> From: Clem Cole Date: Sat, 23 Jul 2022 13:35:43 -0400 Message-ID: To: Norman Wilson Content-Type: multipart/alternative; boundary="000000000000f2a42405e47c6242" Message-ID-Hash: LRBEPI4WTC453E3W7TTQWF27V4OHYYCU X-Message-ID-Hash: LRBEPI4WTC453E3W7TTQWF27V4OHYYCU X-MailFrom: clemc@ccc.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 CC: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Line Numbers Before SysIII nl? BSD num? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000f2a42405e47c6242 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Norman - I think your memory is fine. pr -n (lower case) was an addition early on with pr +1 or pr +2 *etc* also parsed. I'm going to guess that addition was either a local hack done by a lot of people or maybe on the Harvard Tape and distributed from there. It certainly worked that way in the CMU v6 and later v7. But I also remember that I had to reprogram my fingers to pr -N (capital N) when I hit other versions ??maybe AT&T Sys III??. I also remember that at CMU, tjk did not like it / was not needed because he contended we already had num(1) already on the EE systems (but not CS BTW). Ifwe had had shell aliases in those days, I might have agreed with him. But given that it was not part of v5, v6 or v7, that we only had a num(1) on the EE and Mellon systems and not generally rippled to the other CMU UNIX systems around campus, I going to take a WAG that Ted brought num(1) with him from UoMich (- which would make sense - because the BSD history says Joy wrote it). So maybe ??probably?? the origin story for num(1) is that it came to UCB from Umich when Bill and Ted were undergrads there. FWIW: pr -n is what macOS does today. =E1=90=A7 On Sat, Jul 23, 2022 at 8:50 AM Norman Wilson wrote: > I had a vague memory that pr could be made > to number lines, but a quick check of the 7/e > manual says no. > > I expect Dan's right, and none of the 127 folks > felt much need to number lines on printouts > so nobody wrote the obvious simple tool. > > Ironic, since the Unix PDP-11 used by the patent > licensing office (and I think shared with the > research group, and that was how their first > PDP-11 was justified and funded) happened > because the patent folks needed line-numbered > output and roff was easily modified to do that. > > Maybe Doug or Ken or Steve has first-hand > memories. > > Norman Wilson > Toronto ON > (on a train shuffling toward Buffalo) > --000000000000f2a42405e47c6242 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Norman - I think your memory=C2=A0is fine.

=
pr -n (low= er case) was an addition early on with pr +1 or pr +2 etc also parsed.=C2=A0= I'm going to guess that addition was either a local hack done by a lot= of people or maybe on the Harvard Tape and distributed from there.=C2=A0 I= t certainly worked that way in the CMU v6 and later v7.=C2=A0 But I also re= member that I had to reprogram my fingers to pr -N (capital N) when I hit other versions ??maybe AT&T Sys III= ??.=C2=A0 I also remember=C2=A0that at CMU, tjk did not like it=C2=A0 /=C2= =A0 was not needed because he contended we already had num(1) already on the EE systems (but not CS BTW).=C2=A0= Ifwe had had shell aliases in those days, I might have agreed with him.=C2= =A0 But given that it was not part of v5, v6 or v7, that we only had a num(1) on the EE and Mellon systems and not generally= rippled to the other CMU UNIX systems around campus,=C2=A0I going to take a WAG that Ted brought <= /font>num(1) with him from UoMich (- which wo= uld make sense - because=C2=A0the BSD history says Joy wrote it).=C2=A0 =C2= =A0So maybe ??probably?? the origin story for num= (1) is that it came to UCB from=C2=A0Umich when Bill and Ted were undergrads there.

FWIW:=C2=A0pr -n=C2=A0 is what macOS does today.
3D""=E1=90=A7

On Sat, Jul 23, 2022 at 8:50 AM Norman Wilson <norman@oclsc.org> wrote:
I had a vague memory that pr= could be made
to number lines, but a quick check of the 7/e
manual says no.

I expect Dan's right, and none of the 127 folks
felt much need to number lines on printouts
so nobody wrote the obvious simple tool.

Ironic, since the Unix PDP-11 used by the patent
licensing office (and I think shared with the
research group, and that was how their first
PDP-11 was justified and funded) happened
because the patent folks needed line-numbered
output and roff was easily modified to do that.

Maybe Doug or Ken or Steve has first-hand
memories.

Norman Wilson
Toronto ON
(on a train shuffling toward Buffalo)
--000000000000f2a42405e47c6242--