Answers for "grep in windows"

1

grep windows

C:\> dir /B | findstr /R /C:"[mp]"
Posted by: Guest on July-13-2021
3

grep windows

findstr
Posted by: Guest on June-16-2020
4

grep windows

findstr /spin /c:"string" [files]
The parameters have the following meanings:

s = recursive
p = skip non-printable characters
i = case insensitive
n = print line numbers
And the string to search for is the bit you put in quotes after /c:
Posted by: Guest on October-14-2020
3

grep in windows

Use findstr in Windows with following command line structure:
findstr [/I] [/S] "substring" "regex_file_name"
/I   Case-insensitive search.
/S   Search files in subfolders recursively.
Posted by: Guest on October-17-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language