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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1824 invoked from network); 13 Oct 2023 15:14:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Oct 2023 15:14:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1697210075; b=Ei2rz/359NbXN+Fjszb/WcLW3BFavibY4TFMZdd/OOgZw0KLoL9FBX0yVHjt69sU9IqDBRtkf/ IUZcP7TvfcrBbyNi7TiGGmXcMcTdqBFAN1M/xDnOQk5n4k7GWPTr/2UdycpWbtRHlvuhlvKeEE Anm7ja8U6rfOzL6CUU6IecQ3qNzlLWK54II/ydW48p3661x0uUDVLoVpLpnYxRiuU111/LijMp HmpTAKyqWtLtCBcyGWcZwAw6GiCLL0RAf+KYhAsz8U0L5yM4ALDzgND98k/1uEqtIiR62sde6H rAGMd+F2/I9uOd40l4+xa5FohIO9vz0+eT9nL1x6nC7YsQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (csmtpq4-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.41; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1697210075; bh=uqgOb+7PRMYTtD6uDENxNWuY/3VbYHKBK58rTaHraLg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=RMrPbF/hq3WbaFM4lN1k+N+lSkrCU70+JWCCHyzZ0YwTaFabuZpPqJobe9H6foe3KdXdxZYu7o bwWQqerQrnYI06u//fWXN/nrQaACB/cZXuDTNaaYElKowQ6nzfo59JCFx+mqqcc88H0kq0Kj8d Ws6GlxWtTkdGeWExaejbvk4S53Mjy5J+TAPf4GqNbVn8sOW2vx9496OLGA93ZtQUSrFw/Tn+ps vcN1mKl6zLRexGLy+0y/tUhL9Bng2m0KpwpU3V/5BxWSkj6ZGmrwZv0v8o/O8e/l4hMmDLPcwb FRYGsnytTtaBOTM95dKbuyoP+Of/HyRP0KVL23FKVwJZvQ==; 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:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=KaQh7Oz5AC0eSstwXzSEHlLkeVqrVOf1h04iKtoZQrQ=; b=l5h4TFTwjOy68lJJsbZdQXxLNl j5qO4QAR0YbBq+InJFamN8C5JCOkhEnvK86OT0xz5dEKvnkSX0vKq6roNFpJWYJ5AihRyFHX/AGuL viS67nlOZ3Brw/JavhqvA90JSpxMefo88ksWEEjygAWTKUkRjb3kX1qpxcKi9T7phzFVbGha3Gb9o 6U1CFsJ6vanCXhWkgroWb/FZHwK6MnmUdvIX5jpqwkcuWZVzrtjP/1e9K7pEUa8fDuiWBIB0L0a+8 kk4FCerVdvIybWDAuFkxPCkbAhKqQMmFYHGUuKixXOJA8pYB7AR80+VfwzmfSD4wKePjTXFTFvq0W l64Ar0RA==; Received: by zero.zsh.org with local id 1qrJs3-000Euv-Al; Fri, 13 Oct 2023 15:14:35 +0000 Authentication-Results: zsh.org; iprev=pass (csmtpq4-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.41; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from csmtpq4-prd-nl1-vmo.edge.unified.services ([84.116.50.41]:33343) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qrJqh-000ECo-KF; Fri, 13 Oct 2023 15:13:12 +0000 Received: from oxsmtp1-prd-nl1-vmo.nl1.unified.services ([100.107.83.138]) by csmtpq4-prd-nl1-vmo.edge.unified.services with esmtp (Exim 4.93) (envelope-from ) id 1qrJqg-007bMi-BB for zsh-users@zsh.org; Fri, 13 Oct 2023 17:13:10 +0200 Received: from oxbe2-prd-nl1-vmo.nl1.unified.services ([100.107.83.19]) by oxsmtp1-prd-nl1-vmo.nl1.unified.services with ESMTP id rJqgqU7jsLTQ3rJqgqao3I; Fri, 13 Oct 2023 17:13:10 +0200 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 100.107.83.19 X-CNFS-Analysis: v=2.4 cv=JdN672GV c=1 sm=1 tr=0 ts=65295e86 cx=a_exe a=Ug4nl6DLES5uBG/ShwgD6g==:117 a=B1H3LvmVEyMA:10 a=IkcTkHD0fZMA:10 a=5KLPUuaC_9wA:10 a=gir0-LH0AAAA:8 a=lNUiawh-q-iyhsCgn-sA:9 a=QEXdDO2ut3YA:10 a=aHpc-xnqviwxkS_SiO63:22 a=aLewGyoHDmJ4ULJHWpSz:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1697209990; bh=uqgOb+7PRMYTtD6uDENxNWuY/3VbYHKBK58rTaHraLg=; h=Date:From:To:In-Reply-To:References:Subject; b=RdFhFmKn3BQC2N2oD+gYggALfWmpRIGAigrnEkJqU2nP8RtZ7S94fTuaAPCaNG9ZS dhm2bxHG2H8pwgrzri0VjdxkTjzl0g7IcqKTcAg01gSdkZTo/7NghpNF1godB7HKBZ RINVrxlB8SG7SKzpfe3solft84lbMaJ/7FEpzwZ2c4LU+047/i/ZRSsrIWnq5gw81E m3IrcQPHAr97bRCxiRCloUMQAu3YJGlvMQRnzZ99E6fPdDAuW9A5fhEjO0Y9MfBqPz 9MX/9UZiopPYNvddnDM9TKeq9L4UfE9r/B0eolBjO2znt1y6tZLIvR5mwhA/cv3V1e SD7BeQS+K2GjQ== Date: Fri, 13 Oct 2023 16:13:10 +0100 (BST) From: Peter Stephenson To: zsh-users@zsh.org Message-ID: <1312746524.945376.1697209990281@mail.virginmedia.com> In-Reply-To: References: <875y3bvtos.fsf@example.com> Subject: =?UTF-8?Q?Re:_ls_*.mp4_=E2=86=92_ls_:_invalid_option_--_'M'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 147.161.224.207 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfElii6opjIecAGMwwMSq6JVU+GUpruKNgnvBONRRm2R9FK4iDi3LTbPvKTLshqPCfxSWasWKmZJjhMUHaYYTp+wY5pY7CmKdCsnjpBpRGcRjJRVsu0Nw kJn8uaqy0TFZLQDmoSPwFoxJjKS0towNoXQ/GppmlevN5fpffA0euODWA0l7iMh0sWB8Y9Wwt6sQ+kv6vkISvQfAStak/kQE8k9jtFYEY5oiHk0aJV+oGrPb X-Seq: 29294 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 13/10/2023 15:46 Ray Andrews wrote: > On 2023-10-13 01:15, Mikael Magnusson wrote: > > > One (or more) of your files start with the string "--M", you want > > either ls -- * or ls ./* (or print -rl - *) > > I understand the answer and it was courteously given, but just > technically speaking, is that a zsh issue? I'm seeing it as the > internal problem of ls. Remembering that the shell will do the > expansion of the argument, is it in any way up to zsh to parse any > '--M*' as special? In other words, Denis' question seems to suppose > that it IS somehow up to zsh to handle that, and I'm wondering if > that's correct. It's more that it's up to the zsh user, and if they don't know what to do, they're going to ask the zsh users mailing list. It's a very generic Unix shell issue; you can argue whether shells should work like this but it's way too late now. So no, it's not up to zsh to do anything different, but yes, it is up to zsh users on the mailing list to help out with questions like this. pws