From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43675-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIMWL_WL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 070539fe for ; Thu, 11 Oct 2018 19:13:17 +0000 (UTC) Received: (qmail 20348 invoked by alias); 11 Oct 2018 19:13:03 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43675 Received: (qmail 3031 invoked by uid 1010); 11 Oct 2018 19:13:02 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf1-f54.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.167.54):SA:0(-1.9/5.0):. Processed in 3.835096 secs); 11 Oct 2018 19:13:02 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IIrof332iNX1ISJSwOrchAOlyE57UKEba704/lrS588=; b=PHQ4pq8VTEGDJcGg7BS0SreFIPSpbYpO7nMqjrulwt3nRNlwjIeju7ZMqgWkjgzgUj zwuEQm3Of1JJp2LzgWCdrgQqwNTr6mMI1vuvgv+CdM6pYucXuu/El01L8tnhotZw4+xI icj2j58TuTBv2UGsqVN5LDolfmTgl4ESL+GswFYX//sxuT2QlPk27Yc34VEc0RyE+REE BntPlL+hza/nvJBEaW1ajRuj+kztvUiX/u/Bhqw4jCYbB4FqtVAYYbf+XUDJywdggOKd WXsWkBTxEdTCkqZMq8u7v2SxJKPERn0INLfBRCDBmVxCs6VR5kKsjmMdiaRoIb3EgR0I x0nA== 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=IIrof332iNX1ISJSwOrchAOlyE57UKEba704/lrS588=; b=hYmsZHV8t41mVYGFYMDAgtDc6Fya3R90C5R2t/9xj8NHqs9o3biz3Ueh+GHcBURuOv IP0h5H5tiPHKaoeXljvmWngYlMmzXa1n0WaMd4YkVSnPOgnHJTetCKnUGBZ4R1NpEyQs UlQhELwNkdv2+RIdxri/Gp9lPWizfNaczShffWc4WllYhQqdKm1TFvAL8s05DA4jySw6 6i8COP6HAVbxD/w63gg2shBag1OCB19CXnpxcMKhYV0NqBP4xS2UIfkmUVH9sLidbC8Q wV9qTGxAkZpqN2DMa2E7bhHDBheIbHEOkzDj7tc0NlwD2+/Slovv8iVxrZpeuviLkuqn 5R2w== X-Gm-Message-State: ABuFfoizZL95S07JoZoY2V+iUc5YOUcPnCiXX4u+XsXys44D2s1+lSf2 dnxkonF+1y/I12Xm3HGDw9tV38dU/LMqdOosFLTfLOC6jnY= X-Google-Smtp-Source: ACcGV62o5mdl4h/JfruOEhpOI64pa0TzZGcih3I+f8aNeobFovnV/VYoupKHPEtui/szGao56KJc7w6lHby5V8T1QJ8= X-Received: by 2002:a19:c189:: with SMTP id r131-v6mr1813164lff.59.1539285173707; Thu, 11 Oct 2018 12:12:53 -0700 (PDT) MIME-Version: 1.0 References: <8B27B616-9DDE-4A04-AA05-2EA7234051A0@dana.is> In-Reply-To: <8B27B616-9DDE-4A04-AA05-2EA7234051A0@dana.is> From: Bart Schaefer Date: Thu, 11 Oct 2018 12:12:40 -0700 Message-ID: Subject: Re: Documentation about Multios is misleading, and perhaps untrue To: "zsh-workers@zsh.org" Cc: tvboyd23@gmail.com Content-Type: text/plain; charset="UTF-8" On Wed, Oct 10, 2018 at 9:05 PM dana wrote: > > On 10 Oct 2018, at 21:33, Tom Boyd wrote: > >What should be done about this ? > > Not sure if there's really an issue with the rest A bit of common sense has to be applied here. These are redirection operators and are going to behave first like redirection operators, which means that the shell is going to open the file descriptors before executing any of the commands, and then pass those descriptors around. The semantics of redirections demands this. An external command like "cat" receives a list of names in its argument list and processes the names one by one, so it can completely open and close the file with each name before moving on to the next one, but the shell can't do that and would be broken in other cases if it tried. It's pointless to try to call call out every possible instance where the fundamental semantics of shell operations affect a particular use of the syntax.