Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ls *.mp4 → ls : invalid option -- 'M'
- X-seq: zsh-users 29291
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Denis Bitouzé <dbitouze@xxxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: ls *.mp4 → ls : invalid option -- 'M'
- Date: Fri, 13 Oct 2023 10:15:25 +0200
- Archived-at: <https://zsh.org/users/29291>
- In-reply-to: <875y3bvtos.fsf@example.com>
- List-id: <zsh-users.zsh.org>
- References: <875y3bvtos.fsf@example.com>
On 10/13/23, Denis Bitouzé <dbitouze@xxxxxxxxxx> wrote:
> Hi,
>
> my configuration is the following:
>
> - GNU/Linux Mageia 9
> - zsh 5.9
> - oh my zsh (last version)
>
> The trouble I'm facing is the following:
>
> - `ls *.tex` gives the intended output,
> - `ls *.mp4` returns the following message: “ls : invalid option --
> 'M'”.
>
> Do you understand what's going on?
One (or more) of your files start with the string "--M", you want
either ls -- * or ls ./* (or print -rl - *)
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author