From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23442 invoked from network); 11 Jun 2021 20:39:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Jun 2021 20:39:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1623443998; b=tnVg+oE0R2Y+Wz/lkqmw+ML4Tew2cgA2bGMDlyV2uZBHX9dKtLXKBg95tjU9b/Hg/N055JyTbY PzyHQkIQ1/KaFjgGmSXNYJEOl0c6nTce9sPnf+w90PGVDPSXQQeQo2xFrND0uzzuhuNkPgQ5me u57HxiiewAS4rqOPbcOMuFFD4zcKyL+4RgnTnXsE0Ev782TZTZx5Lq0P0LtK4VkbKetKEr20HR uLy5AlF8gQsI4zK2dbhXgQcekaeE2RQLs+7OUVLMg9u6s4Sx0gCZ9Z4Xjhmku9Y/TIIrGXSZEj THRqTgQLOAlXlox8EMUHcdgM7SUV6hRBRNDEdXwCA5/yig==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-wm1-f44.google.com) smtp.remote-ip=209.85.128.44; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1623443998; bh=zOwPBz9IbSqHWD9DbBSqVx1Al6Dg/rqWDgCYaVG/z8U=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=gDhb6hkUTWLZKLOO1dZ4qGq00bT8ePzoLIalVD+7wIxmKDDLhLMDkXpK1f0bRFeR8mZ2xOVv/M gubpqOEevgL14g2q5f9bOW/1c5P90nEaSjpXW2g6S3dkQEq5Mc8UrldGnpl/EfqCoshIRrF5+W xEAaCnXjE0W5gt7P6i/lgDG8LUydpg+/nxzszDF//7S4eOslrslL61uxQd8fbxxp9PSoioULST zbYEiu3SM92PVi3/swnV/hRB1N5Whcm4NAMLvL0wHiKl3YvNWI7Z/Z92+zbcwzBM7AnWUiJ9pJ vniz/NUIAshsj6/umTD96CzrqY2LQWZTsigsfe5X9TN4Gg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=M/Hr7KGPTagYQZntc1JMe3LrdgzcqGWKtc8QBEL6rgc=; b=SLmzAFsfNqsIM8SaLAeGx8Lm0U GlkBVIlQbR9Sh8phrbZqLWOcmu8i3QkdXCkMu2B2+Q7p7b70zPxU3aA7jQhZ73udrhCtk4ehVwqcA m9aAI5g/DRrO4FwOkNTycxBEFZUILOxG+xIdbh/cCx7YLWi1mhCe0DKOMCoBh/7N8gdKEbloO9jx2 bTNQAtuCjWwopnAqTKguARP982DY3gMsTGRtWf202LozLzde5ggqjQQTbfGOgnxjEMgUInH5XevoL Gt8y+efVq5H434fyS46q2PJxnczWocDuZ1FSOFLnSa32SgTFIWulXCrnL1Cu7OW9YvsVXUD83H+ZQ yBI9ykxA==; Received: from authenticated user by zero.zsh.org with local id 1lrnwb-000F9z-QH; Fri, 11 Jun 2021 20:39:57 +0000 Authentication-Results: zsh.org; iprev=pass (mail-wm1-f44.google.com) smtp.remote-ip=209.85.128.44; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-wm1-f44.google.com ([209.85.128.44]:43687) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lrnwK-000EuQ-Qb; Fri, 11 Jun 2021 20:39:41 +0000 Received: by mail-wm1-f44.google.com with SMTP id 3-20020a05600c0243b029019f2f9b2b8aso9322411wmj.2 for ; Fri, 11 Jun 2021 13:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=M/Hr7KGPTagYQZntc1JMe3LrdgzcqGWKtc8QBEL6rgc=; b=RSqv/Cm3SNT5K2oluGR5xIvr9gRvwYOAJZrTHEoEt96l54hu75KPw3vC2wk2ClFVtf Uu6al69IqklRVS5M1IYuPSN1F0nW8sgC2mexwOrru1EQdFNrrC2tKValxAiRCRh3rb3n xTZnr4NtMy7N+2tSdXFnT1KjIH098rlQ7eA90EvJNo6QbAkPC/1pmMFREFhvewK0xV4o mgAIBjZgGpAnFsFfG3nbwlttlUKbS9mFhirdn/SdaxTm5CZPoobCRiHxIN3IcextuwO6 BmK66si0cp2QoaQ4XGfBUl1HlwKg98WZV4RzRPMtFonF5rHT+PsTcD9p42kZR0jcvMUi Rqbw== 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; bh=M/Hr7KGPTagYQZntc1JMe3LrdgzcqGWKtc8QBEL6rgc=; b=hJ8WL4m0Zysx91cUS4lb2C7cYNuHA8vdDgI7N6Rq8pYpj5NG7mQ8Z2/zU/O6YLw/PA TezcsCXSb6anlPcJie0OZ24cxHqNMFAeDs48CDqDvx/YLcs9qksRBQquset44rzDZXyl vFCM1nzapA+cE3QYkOTMR6uSE2FAy5awz7CbMzmTfkj3Vqf32zSNuO87CVZ189y4z0oK gHxWyXA5f4UoUO+QeeM72IXiqC89DyVBOSE0TZXA4rJcOQEN29HxKeezpzr5kN5gdSee WFUKSAWd1ftzR6lXfa7TZSIBYRwXl44P06fNKLPnfpNhsvKufQCYpsKZnX7ByPaTUE/O PEIw== X-Gm-Message-State: AOAM530wSjAaoV/IvwUYBsGXv6QeXF6TCtrXL5EKgIVJ3vuFSV1sBX3h ++I6STeQzEuj5bCNF2CYOPlRtJbfI6EWSzwEN+8= X-Google-Smtp-Source: ABdhPJyTet7MmPPu8xLJbivtT5iDZcIwpXYPtcsQEZBQGP9QzWvLEwqy75724hAbBOjR4Zr+5wQc3Tg0iXW+8vCGjFw= X-Received: by 2002:a05:600c:35c3:: with SMTP id r3mr21952758wmq.169.1623443980436; Fri, 11 Jun 2021 13:39:40 -0700 (PDT) MIME-Version: 1.0 References: <20210611195322.4tnhhppbjpddi2tv@chazelas.org> <20210611200411.bheljlneq6z3ydsf@chazelas.org> In-Reply-To: <20210611200411.bheljlneq6z3ydsf@chazelas.org> From: Zach Riggle Date: Fri, 11 Jun 2021 15:39:29 -0500 Message-ID: Subject: Re: Where is this =(:) construct documented? To: Zach Riggle , zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 49062 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Thanks for the help, all! This was impossible to Google for! Most obfuscated I could make it (to mess with coworkers) is... (){<<<$1} =(:) Zach Riggle On Fri, Jun 11, 2021 at 3:04 PM Stephane Chazelas wrote: > > 2021-06-11 20:53:22 +0100, Stephane Chazelas: > [...] > > info zsh "Process Substitution" > [...] > > For information, searching in info (with / or s or Ctrl+S) these > days uses extended regexps. So, to search for =(, you need to > search for =\( or toggle regexp matching off first with R. See > info info / for details. > > [...] > > That's the third form of process substitution. > > > > ksh introduced the first two <(...) and >(...) in the 80s. zsh > > added that third form in the 90s. > > Already in ksh86. In ksh86 you could actually also use A (B) in > place of A <(B) though it looks like it was removed in later > versions. rc also had process substitution with a different > syntax IIRC. > > See also: > > https://unix.stackexchange.com/questions/49918/when-was-process-substitution-first-introduced/49952#49952 > > and > > https://unix.stackexchange.com/questions/181937/how-create-a-temporary-file-in-shell-script/181996#181996 > > -- > Stephane