Let's consider the interaction with Zsh on a Mac:
% ls |grep gradle gradle@7 % ls gradle* INSTALL_RECEIPT.json LICENSE NOTICE README bin libexec
According to every description of the functionality of the
* wildcard, the output of second invocation of
ls should be same as the first. Yet, it lists the contents of the folder. Why is that? How can I fix it so that
* behaves normally?
Obviously, in addition to Googling it (please don't suggest that I Google the answer), I tried reading
man ls but that's completely unwieldy.