I was just trying to check a dump-directory for any ZIP programs like PeaZip, NanoZip, etc. and ran into an odd problem that I have seen only a few times before.
I used the following command to list files whose filenames contain
This listed any files whose filenames contain
zip, but also all files with a
.zip extension (e.g.,
I then tried the following:
This gave the same results.
Does anyone know of a way to get the expected results? (I know that
for may be able to do it, but the output won’t be correct.)