Closed Pistos closed 1 year ago
❯ find . -type f | zig-out/bin/zf -f ".zig" | wc -l
108
❯ find . -type f | zig-out/bin/zf
> .zig 108/146
Looks to me the results are the same? 108 matched lines in the same order for me
But yes, .zig
does match the string ./.git/modules/lib/ziglyph/info/exclude
because after the strict path matching fails (the filename exclude
does not match .zig
), matching is retried over the full string.
Ah, you're right. I got misled by the number of results shown.
No worries!
If I have a project with some zig files (extension
.zig
), if I just manually type.zig
into zf, the results differ from passing-f .zig
So, it looks like the
-f
option is matching:.
with.git
z
withziglyph