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.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 d58f08aa for ; Fri, 3 Jan 2020 19:45:09 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id EFEE99B4D0; Sat, 4 Jan 2020 05:45:07 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 9ECE39516B; Sat, 4 Jan 2020 05:44:51 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=bsdimp-com.20150623.gappssmtp.com header.i=@bsdimp-com.20150623.gappssmtp.com header.b="0tfZFEai"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 2BF549516B; Sat, 4 Jan 2020 05:44:50 +1000 (AEST) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by minnie.tuhs.org (Postfix) with ESMTPS id 631B695165 for ; Sat, 4 Jan 2020 05:44:49 +1000 (AEST) Received: by mail-qt1-f179.google.com with SMTP id g1so30723234qtr.13 for ; Fri, 03 Jan 2020 11:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kFh7R2ZJmwwsmXFKytDYw3vNrLYkogJmNVV+lPoPDkk=; b=0tfZFEaijasuysUhV/kyf85lRTnZR7cAy1WceadYHMh+EmYb/UEWPgzQtbBxWvIaWL JmeOPScatQnt2QkvPxIMoXLs/4NtKY+mKblgUuH22F0Nhs7mAq4KfWFBBhzlq+U/HqX4 3tGnhQJoBdUUhWqazbnIz7Dm0rW2kZik1er6tpJhrDmzaJwHtNhqkLDE6vWeZvVamvv0 ad8sEVIYfMV0oGwqVLYaV+/DHEC4PzJoC8CckjA/Y3eE9zK45aoHBdwEN+3SSYWV3OIa HW+UsIIiUPRge/pxVWfDuHEizBSrYtCCEMZ1BL6+wNEs2ea/s99WKvdoky+A+u0LsDnY RaYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kFh7R2ZJmwwsmXFKytDYw3vNrLYkogJmNVV+lPoPDkk=; b=rNgEfJfIjevIkWo8o+pjsUwzTEe65xdez4rvVA3/ase40uIlIG7WOEHWtcYE2/aOKE VjLJS6b1n9wmAwZ6wTYu5FFwszLhgA/8VvOhJlrtNVWnK9zUqf54zvk6iH+wcuQEZpAk Zi4/nCMfQy4g3HEKUL1D6QPd6ugzvBCl/qulpWbGVlMPkQ7DJF8DaugAuLDB+61WPIXH +08ZUbamhVgl6x80H1nGom3LZYl4kKn/w2wvCxhDyYr/FOHJ6njOPfAkYupUHGpoOKE/ iSt7mL9og6aJ/lKyye4DhDBfRjHcugPe6mZj9rHYuMz+qVZKRjdYLJj19Jfh0LnHKi1u qgbw== X-Gm-Message-State: APjAAAX8vFle70unCCxlNe+UM+SODYGYpYH+H1ADhs00w9odw5LIMGwg gD4gqhG8MYtborJyp66VALZhNu+80RcK4cF49uob12ae X-Google-Smtp-Source: APXvYqzFH/UxkcgtBVcc0g63c7HwfLxWddvg4KjcwetaPWcAoEoQWvxIxRxj6qK54nRxlB+8z6lX+dvwzp16/7Ejy20= X-Received: by 2002:ac8:490f:: with SMTP id e15mr62539604qtq.32.1578080688463; Fri, 03 Jan 2020 11:44:48 -0800 (PST) MIME-Version: 1.0 References: <1inMKv-0Km-00@marmaro.de> <1inSly-4mJ-00@marmaro.de> In-Reply-To: <1inSly-4mJ-00@marmaro.de> From: Warner Losh Date: Fri, 3 Jan 2020 13:44:36 -0600 Message-ID: To: markus schnalke Content-Type: multipart/alternative; boundary="000000000000dd0485059b418a44" 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: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000dd0485059b418a44 Content-Type: text/plain; charset="UTF-8" On Fri, Jan 3, 2020, 1:39 PM markus schnalke wrote: > Hoi. > > [2020-01-03 13:45] markus schnalke > > > > I'd be interested in any stories and information around this > > topic. > > Especially I'd like to know since when and why ``>file'' is a > full command? Was it clever design or by accident? It's used to open files in shell scripts. Iirc, exec >foo 5>& and the like... Warner > --000000000000dd0485059b418a44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Jan 3, 2020, 1:39 PM markus schnalke <meillo@marmaro.de> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Hoi.

[2020-01-03 13:45] markus schnalke <meillo@marmaro.de>
>
> I'd be interested in any stories and information around this
> topic.

Especially I'd like to know since when and why ``>file'' is = a
full command? Was it clever design or by accident?
=

It's used to open files i= n shell scripts. Iirc, exec >foo 5>& and the like...

Warner=C2=A0
=
--000000000000dd0485059b418a44--