Search found 17 matches

by findstr
10 Jun 2021 11:15
Forum: DOS Batch Forum
Topic: FINDSTR \s regexp meaning
Replies: 4
Views: 3790

Re: FINDSTR \s regexp meaning

Well, due to localization, the results won't be of any particular use here. ECHO /? | FINDSTR /R "\s" returns a single string: ECHO [message] What results do you get if you run ECHO /? | FINDSTR /R "\s"? FOR /? | FINDSTR /R "\s" returns some random strings from FOR's help. DIR /? | FINDSTR /R "\s" r...
by findstr
09 Jun 2021 12:48
Forum: DOS Batch Forum
Topic: FINDSTR \s regexp meaning
Replies: 4
Views: 3790

FINDSTR \s regexp meaning

Hello! C:\>ECHO /? | FINDSTR /R "\s" ECHO [message] How does FINDSTR interpret \s regexp? It produces some strange results, try: FOR /? | FINDSTR /R "\s" DIR /? | FINDSTR /R "\s" netstat -a | FINDSTR /R "\s" DIR /? | FINDSTR /R "\t" Produces weird output. ECHO /? | FINDSTR /R "\t" Produces no output...