On Tue, Aug 5, 2025 at 7:36 AM Barry <[email protected]> wrote:

>
>
> > On 5 Aug 2025, at 08:01, Michael D. Setzer II via users <
> [email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to