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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1941 invoked from network); 29 Sep 2021 13:27:15 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Sep 2021 13:27:15 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1632922035; b=dLv9beATVRUt8WgtRttYT4bfsXGvTxRWGPXGC8rbc1zKW/gi1CUnvZndePPqInVjbHE73t0c9K OufoClO5PrGV6RtDWiH8as6GkGLYt8JTFaUKJpL5/xsFWo7izoJ1SwDMYbcpCjvftL1L34x8US edinjKClzdHMOm6M8jzNYSpVJ20v/1dYS8SIpBq3hua2grIHY7C+LEZ6N/IlYmwyVIdjsm38mM v0QAF2W2a+/jv+SIRjbrDfdewGxUfkaR5ZB1FZmnztx1Sb/gviniJWTWvPKcb83k8W5rY8CdQK ji19luxpemfo/sWGpELmq+VdIpc8cSYX8Jgq6im9drFK3w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (cventin.lip.ens-lyon.fr) smtp.remote-ip=140.77.13.17; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1632922035; bh=kOPSlNWo2Tl6Fs6pJ8pNfGremhHb7Q+QmNiV5QMP+Os=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=m7eum/B3+/g5LmtU4kP1Oo++YWgJeu1xeaMjAXRo4qBj42H0r0M5TQ6p2uQdrJf3g94CHsj7Gq iO/GkL2uTeRca3RMCG7E5DBc3FhJUE0qxDtyexXX0LZpEMuQPfyce2cpU9XXrtviLfayQ9rmLl 5iuaCgb9F1wIyegdhFGMPy/1LHqZ0L+2njCNXL6UP1yXa/IXKNi0HNdtK72NCufH0ij5/jwAm/ IGHPhQX2oqDzUDeZdmoB+K/BOfKcC/6fFRijuNJ9QSY3YOQmD7QDz4Jqn44f8Vq3c8XRWQ3dWL +3juU27bkRl/P5JiEgHDgdvw9dxfX93WBZdWqT5hgkIqWQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=HzeH4bDb3wPIus1mG5XUNPcqAZXP37QBNCrau6f2AhU=; b=M/VD/WOYyRUh3TVf4gLY3EZpH2 LpudiT2hBbK3pcVyqbCE9mWvbv2YBB+GVSIyTW5yXsm9jz+k2WBu9zJGgMjQJkAMmO9jSOf7JW3QC OtG/u9jKlpniOtH1UNU+DGgZ+KmO121CPqgnygG5vNTuL5NdaWniMT/HQd8CwEm33dLyxhNKmY5q6 rRoXOz2nBTk14SmAEf2akM40tfXDpApxZDwPj2P1yRofPpO2eaGY7JYnf3aI8pZ4nF9os3iE/9Jd2 tfqIUv7h2xbBaKTeEbEYQPrYITQcx7K3AKt/SIdsIEt3J6a0H2Dm8j9ck9hWWnDotnE9L0PQCan0g ruFOTMpQ==; Received: from authenticated user by zero.zsh.org with local id 1mVZcA-0009QN-KU; Wed, 29 Sep 2021 13:27:14 +0000 Authentication-Results: zsh.org; iprev=pass (cventin.lip.ens-lyon.fr) smtp.remote-ip=140.77.13.17; dmarc=none header.from=vinc17.net; arc=none Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:37714) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mVZbX-0008jp-2Y; Wed, 29 Sep 2021 13:26:35 +0000 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.95-RC2) (envelope-from ) id 1mVZbW-0007gE-JM; Wed, 29 Sep 2021 15:26:34 +0200 Date: Wed, 29 Sep 2021 15:26:34 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: less with subprocess Message-ID: <20210929132634.GA29467@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-users@zsh.org References: <20210927233143.GA16620@gmx.de> <20210928185230.GA7495@gmx.de> <20210929130217.GB25513@cventin.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.1.3+69 (769e5086) vl-138565 (2021-09-25) X-Seq: 27178 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 2021-09-29 15:13:14 +0200, Pier Paolo Grassi wrote: > in this command: > > LF () { () { cat >$1 &! less $1 ; kill $! } =(:) } > > what is the purpose of =(:)? To create a temporary file (which will be removed as soon as the function returns), AFAIK. It is referenced as $1 in the body of the function. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)