From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 663268c0 for ; Sun, 5 Jan 2020 21:21:51 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id AC6059BBDE; Mon, 6 Jan 2020 07:21:50 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 402CC9BB4A; Mon, 6 Jan 2020 07:21:21 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 01D289BB4A; Mon, 6 Jan 2020 07:21:18 +1000 (AEST) Received: from viclamta18p.bpe.bigpond.com (viclamta18p.bpe.bigpond.com [203.38.21.82]) by minnie.tuhs.org (Postfix) with ESMTPS id E43589B545 for ; Mon, 6 Jan 2020 07:21:16 +1000 (AEST) Received: from smtp.telstra.com ([10.10.26.4]) by viclafep18p-svc.bpe.nexus.telstra.com.au with ESMTP id <20200105212114.EXRB6029.viclafep18p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Mon, 6 Jan 2020 08:21:14 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedufedrvdegkedgudeglecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvffttedpqfgfvfenuceurghilhhouhhtmecugedttdenucenucfjughrpeffhffvufgjkfhffgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucfkphepuddutddrudeguddrudelfedrvdeffeenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhlfhhrohhmpeeouggrvhgvsehhohhrshhfrghllhdrohhrgheqpdhrtghpthhtohepoehtuhhhshesthhuhhhsrdhorhhgqeenucevlhhushhtvghrufhiiigvpedt X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.418) id 5E00C71E02014C01 for tuhs@tuhs.org; Mon, 6 Jan 2020 08:21:14 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 005LLDAH068432 for ; Mon, 6 Jan 2020 08:21:13 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 005LLCof068429 for ; Mon, 6 Jan 2020 08:21:13 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Mon, 6 Jan 2020 08:21:11 +1100 (EST) From: Dave Horsfall To: The Eunuchs Hysterical Society In-Reply-To: <854eca1c-e5e5-5d8b-f5af-30cd1735096e@case.edu> Message-ID: References: <202001040258.0042wuic1359237@mail.cs.dartmouth.edu> <1ingL0-5g6-00@marmaro.de> <854eca1c-e5e5-5d8b-f5af-30cd1735096e@case.edu> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Re: [TUHS] sh: cmd | >file 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Sat, 4 Jan 2020, Chet Ramey wrote: >> Which reminds me: which Shell introduced "#" as a true comment? > > Define "true comment." The v7 shell had `#' as the comment character, but > it only worked when in non-interactive shells. I think it was the Sys III > shell that made it work when the shell was interactive. Yes, that's what I meant. > This is, incidentally, why bash has the `interactive_comments' option, > which I saw in another message. BSD, which most of the GNU developers were > using at the (pre-POSIX) time, used the v7 shell and didn't have > interactive comments. When a sufficiently-advanced POSIX draft required > them, we added it. I never did catch up with all the options on the various shells; I just stick with the defaults in general. Eg: aneurin% man bash | wc -l 5947 Life's too short... -- Dave