Answers for "grep in windows"


grep windows

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

grep windows

Posted by: Guest on June-16-2020

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

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