From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id EFF7B232F6 for ; Sun, 21 Jan 2024 18:20:23 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705857623; b=RyAVv7YXKqSmZUuk+kREDBK/IYZEdiX1TqHeQkvqTp5qFRVkBQeWDOWlTbtWtM4V9zWQkNQG6v yDH4HixyhwAPG9oyu5ulpo8FV+aoEs//EK8VeAJ/9HgfafEFSZa2w/7OFCC0bUsa3VxwfoMQnJ xPal0ahWpR3Ck3aJeiP+bg/zUF5dfBFSRZBXg+eB9we0KPPlOwSdYCqjF7DqV5wQWCmjNmY7Pa 31uN3iTXMNUs9Fr88uRELWcSaTCNXP5CpFlK7jXKsXwHPWsrRQS2txTKesF6PaI+H/5K81huS0 OpH4YUThYNZVViGRs9KdqXrcmEhB+Oh0iPu9U1JytmUvFA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1705857623; bh=+KhFzOAiJmmsyYlpxbRaj9Gka6ZuEcZSIQ8D9F81CDw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:DKIM-Signature; b=YbU4yTNHgm2+dDBZ/wEYis0ysgnQnXDkDbgcqZ+aeT5X1prHPIDobQ70D0g1BshNZNhD0S3r5z 78mV/aiUUgp4SUhRh62lj6ewVtW5IWQI4caKkRxPXy4H8dBg3gAg+2kfuDGcfDRzTW3YCEq7YJ zUmE/7zicwnpDTtEgsG/8MdEOFl8QG9VAI9W04AAkMvs2UbzQZxZuxPERxZaP4leE87rLrFhwE +p2pqLmQ1FdsKTR7e6DCcb9O7jjKyFQ9x0SuS+OTtVHbYvXC2NktpaUe553zavRG2JCCvp86W8 Ujj6/CSXzAivID6rkm1PfyPHDAjV+YY7YSbJJcUJHlkVNw==; 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:Content-transfer-encoding: Content-type:Subject:From:To:MIME-version:Date:Message-id:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=zkuj/eR5ul/VQU276GvAC2uWYPPlFzbPAg/xRqAJCmU=; b=kMMkSq6u6vXQQQPNSZG3u4OEER yDDWzHI6GW0CjmLMZcu5/kgI+DfA1cZ+8Gjoe5YN5KU0/m6d3t4saFzem/kslbksS4LldHytmIEn6 eJOVXOadOi6WhfScmESrCtWm9PZF83jkiSobDA64Qg9USuR+lk8eZ/HLwtfVrLR43YoSzLz8FpqUY tifNewFC+C7ioTfIAnzlkw/gpPntmwUezEhh+0sEhWCF4YNnS2uLIOp4ycQWDABlhPliZcKS9u5df gjfHFll/3nLisHRvnJbZFiQKsMwnCBVrCXegaT+g23WffCNaIA3qBmffWTsZLJxEjuXuN3Xvh24mH lnoN0jhw==; Received: by zero.zsh.org with local id 1rRbUb-000H7d-Uk; Sun, 21 Jan 2024 17:20:21 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:44937) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rRbTx-000GP4-UA; Sun, 21 Jan 2024 17:19:42 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0S7M1NF95G4FDLQ0@mta03.eastlink.ca> for zsh-users@zsh.org; Sun, 21 Jan 2024 13:19:40 -0400 (AST) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id RbTvrL5yMAItURbTvrI6Nx (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 21 Jan 2024 13:19:40 -0400 X-Authority-Analysis: v=2.4 cv=NJYTuW2g c=1 sm=1 tr=0 ts=65ad522c a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=IkcTkHD0fZMA:10 a=KmBm9X2zJBEnqZAzeJ8A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekgedgleelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfvhffutgfgsehtkeertddtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeevgeeuheeuveeuledvfeeikeetveefudekudegieehvddvgfdvffeikeehgeeggfenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduudgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: -100 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <62da1cec-bcc9-49ed-8f5f-ad428fdd3f20@eastlink.ca> Date: Sun, 21 Jan 2024 09:19:39 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Content-language: en-US To: Zsh Users From: Ray Andrews Subject: /proc slows % echo /**/*/etc/r*(/N) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29530 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: I used to do this kind of thing without any problems:     % echo /**/*/etc/r*(/N) ... but just trying it, zsh labors for close to an hour, then spits out countless pages of: /proc/9/root/etc/rc0.d /proc/9/root/etc/rc1.d /proc/9/root/etc/rc2.d /proc/9/root/etc/rc3.d /proc/9/root/etc/rc4.d /proc/9/root/etc/rc5.d /proc/9/root/etc/rc6.d /proc/9/root/etc/rcS.d /proc/9/root/etc/rsyslog.d /proc/9/task/9/cwd/etc/rc0.d /proc/9/task/9/cwd/etc/rc1.d /proc/9/task/9/cwd/etc/rc2.d /proc/9/task/9/cwd/etc/rc3.d /proc/9/task/9/cwd/etc/rc4.d /proc/9/task/9/cwd/etc/rc5.d /proc/9/task/9/cwd/etc/rc6.d /proc/9/task/9/cwd/etc/rcS.d /proc/9/task/9/cwd/etc/rsyslog.d /proc/9/task/9/root/etc/rc0.d /proc/9/task/9/root/etc/rc1.d /proc/9/task/9/root/etc/rc2.d /proc/9/task/9/root/etc/rc3.d /proc/9/task/9/root/etc/rc4.d /proc/9/task/9/root/etc/rc5.d /proc/9/task/9/root/etc/rc6.d /proc/9/task/9/root/etc/rcS.d /proc/9/task/9/root/etc/rsyslog.d ... I'm wondering why /proc wasn't a problem previously and if there's anything I can do to filter it out of the search -- probably all the Linux 'system' directories too.  I recall that there's some test, something in permissions, some flag -- that identifies these not-quite-real directories -- zsh knows who they are.  They're really in RAM, yes?  I know the tilde is used to make exceptions:     for bb in *.eml~save*; do ... all files matching '*.eml' excepting those that match 'save*' ... but I can't get the syntax correct with the above.     % echo /**/*/etc/r*~/proc*(/N)     % echo /**/*/etc/r*(/N)~/proc* ... were busts.  But the right answer is to filter out all those virtual directories.  Don't know why this didn't used to be a problem.  But I think I did deal with this issue a few years ago, too.