Paul Eggert said: > Yes. --ignore is about what 'ls' finds in directories, not about command-line arguments. So my command should work, IMO: ls --hide "*.pub" id_ed* id_ed* would expand to all files starting with id_ed ls will stat them and get their name --hide should hide those matching the pattern.ls should display the expected result of all id_ed private key files. I don't understand why --hide is depending on whether FILEs were provided or not to the command. This is the opposite of what Paul stated. Best regards Mathias M
bug#69261: Further discussion on option processing
Mathias MICHEL via GNU coreutils Bug Reports Tue, 20 Feb 2024 16:50:16 -0800
- bug#69261: 'ls' : --ignore do... Mathias MICHEL via GNU coreutils Bug Reports
- bug#69261: 'ls' : --igno... Paul Eggert
- bug#69261: Further discu... Mathias MICHEL via GNU coreutils Bug Reports
- bug#69261: Further d... Paul Eggert