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 ecc3eb69 for ; Sat, 4 Jan 2020 02:59:34 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id B87829B544; Sat, 4 Jan 2020 12:59:32 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 0BF4C9516B; Sat, 4 Jan 2020 12:59:02 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 73B1D9516B; Sat, 4 Jan 2020 12:58:58 +1000 (AEST) Received: from mail.cs.dartmouth.edu (mail.cs.dartmouth.edu [129.170.212.100]) by minnie.tuhs.org (Postfix) with ESMTPS id E11A895165 for ; Sat, 4 Jan 2020 12:58:57 +1000 (AEST) Received: from mail.cs.dartmouth.edu (localhost.localdomain [127.0.0.1]) by mail.cs.dartmouth.edu (8.15.2/8.15.2) with ESMTPS id 0042wuTN1359238 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 3 Jan 2020 21:58:56 -0500 Received: (from doug@localhost) by mail.cs.dartmouth.edu (8.15.2/8.15.2/Submit) id 0042wuic1359237 for tuhs@tuhs.org; Fri, 3 Jan 2020 21:58:56 -0500 From: Doug McIlroy Message-Id: <202001040258.0042wuic1359237@mail.cs.dartmouth.edu> Date: Fri, 03 Jan 2020 21:58:56 -0500 To: tuhs@tuhs.org User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" > I'm interested in the possible motivations for a redirection to be > a simple command. I use it to truncate a file to zero length. Or to create (an empty) file. Doug