tomrijndorp/vscode-finditfaster

[bat error]: invalid digit found in string

Opened this issue · 0 comments

When I search within files Ctrl+Shift+u on windows powershell I get the following error in the right hand pane. A quick search revealed that is because grep behaves differently on macos, linux and windows psh: kyu08/fzf-make#53

I tried some test commands manually in the powershell and could confirm the different behaviour of grep and mentioned in the issue for fzf-make:

$ grep -rnE '^clean\s*:' Makefile

117:clean:

incorrectly missing file path, and

$ grep -rnE '^clean\s*:' Makefile /dev/null

Makefile:117:clean:

correct, with file (path).
It's odd to me, but /dev/null actually worked in the powershell.