On Tue, Aug 5, 2025 at 7:36 AM Barry <barry@xxxxxxxxxxxxxxxx> wrote:
> On 5 Aug 2025, at 08:01, Michael D. Setzer II via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Interesting. Wasn't sure why the * in an empty directory would have
> commands work but if in directory with files it would not?
The bash shell will pass on the wildcard, * is your example, if it cannot expand the wildcard.
Some other shell will instead print an error, I think zsh is like that.
% mkdir ~/tmp
% cd ~/tmp
% ls *
zsh: no matches found: *
George N. White III
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue