From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23748 invoked by alias); 17 Apr 2018 16:09:49 -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: 42672 Received: (qmail 20186 invoked by uid 1010); 17 Apr 2018 16:09:49 -0000 X-Qmail-Scanner-Diagnostics: from mail-pl0-f44.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.160.44):SA:0(-1.9/5.0):. Processed in 15.394794 secs); 17 Apr 2018 16:09:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_DKIM_INVALID,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.1 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=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=7n34V1ZcNhewi/gdWlAp1KNwyGLyTpNWUYhWzIcREsQ=; b=AsO3oaNORxt7jYUN1Ig6vfjY//IVLCu55xDJTesIFt5QIUAt+2/pGogBPz8ap88Jra cDEeVimWMz8r6Z8yMcuQtvrU+maldgzSm8xc4H83DM4tln6TLZllEBQMLxDbXox+yphl 9IpQijDDBnvgRc7hh5bQWhCx9j43GrRwHYYYg4SLig6PQ4AqVj2JDppGPthV+ps4QLMx zyrSEhIrNYICrVlWkZxoV2wuUFvSOXOoSRUdzfzi7Gb4fLhOIAeOUaQ4poQYyvNFIAP+ jK7ifMBGbTrpDi1TrLpXmdWLMFwqb7408ICrjjB0oQe3//u62dR67AUJeC/LKf68yfQD 4e+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=7n34V1ZcNhewi/gdWlAp1KNwyGLyTpNWUYhWzIcREsQ=; b=Md5DidaWEsRVgvL/idMCxrdSyAxnh5BRgGodvoXEiGskrh93ERe81miSAu7yHkPstF jGwScypWErBAmQamRTMiXw50m+ng9ACCRUtE44u4kC1JvTsu9tG698bYhunQ0kX9xs2z vY2KlrhK0Ws98V5t0ysv+n31HT+H7B3LkK5KXIeozfNhc+OjVxbOQ89g2OPhhicekgXG A99K10ep9KPzu5nLStiuBDuRJLVDfZjAZIk7eJfxbLtt/bLg3mHOoxuP9dbTtL5psB92 cBDVfjyJyik/9V1qF0YzM8vUM8OnZpLfkmmw7AaA/4vieBCNeujbiW95pMBVghs0kut6 DtWQ== X-Gm-Message-State: ALQs6tAjox7ULfmZ0r4bdvUpm2FfFBnnpUC+ZSYxseeO2BnzikknwwTX +cl+o1AF75HRl3BecAoxipLsUssX X-Google-Smtp-Source: AIpwx49LD1YpnQHQDuNqOklhzeKP8A1EpQGIcgYepRKBuEnRNIs37AoPTEzkcvkMP+JGuGjRUCkYnA== X-Received: by 2002:a17:902:a717:: with SMTP id w23-v6mr2563993plq.342.1523981371078; Tue, 17 Apr 2018 09:09:31 -0700 (PDT) From: Bart Schaefer Message-Id: <180417090926.ZM2456@torch.brasslantern.com> Date: Tue, 17 Apr 2018 09:09:26 -0700 In-Reply-To: <20180417101947.5fd347df@camnpupstephen.cam.scsc.local> Comments: In reply to Peter Stephenson "Re: "echo | ps -j $(:) | cat | cat | cat" runs components in different process groups" (Apr 17, 10:19am) References: <180323221959.ZM27569@torch.brasslantern.com> <20180324080514.txxyrb3qiztu4pqt@gmail.com> <180324150945.ZM32251@torch.brasslantern.com> <20180410124545.13fccd5d@camnpupstephen.cam.scsc.local> <20180410145926.64c4f671@camnpupstephen.cam.scsc.local> <180411151025.ZM19332@torch.brasslantern.com> <20180412172342.52df6b10@camnpupstephen.cam.scsc.local> <20180415162326.GA12549@chaz.gmail.com> <20180415185804.GB12549@chaz.gmail.com> <180416223910.ZM32002@torch.brasslantern.com> <20180417101947.5fd347df@camnpupstephen.cam.scsc.local> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in different process groups MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 17, 10:19am, Peter Stephenson wrote: } Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in diff } } On Mon, 16 Apr 2018 22:39:10 -0700 } Bart Schaefer wrote: } > So if, when we determine that "&" is the command separator, we could } > treat the command in the way the "time" prefix does, this would all } > work out without mangling execcmd_exec() and prefork(). } } That's good, I think that's probably worth doing. } } I think it would be fine to change with a note about the } incompatibility. Glad to hear that, however, I have very few clues about zsh wordcode (or in particular about how to put something into the wordcode back at the beginning of the command when we reach the separator at the end) so I'm not likely to be able to change this myself. There's also workers/42233 and related thread, if we're already going to be fiddling with wordcode. (Limitations on the size of a script it is possible to zcompile.)