this post was submitted on 30 Jun 2026
51 points (100.0% liked)
Linux
14231 readers
952 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Using zsh will gelp with that mistake, because by default it will turn the 'no matches' scenario into an error. But seriously, always quote your arguments if there is any chance for ambiguity (also for variables)
I use bash and it did throw that error, however the
find . | egrep *.pyexample at the end did not.It took a while to get used to zsh bailing on non-matching wildcards, but it honestly makes a lot more sense