findstr "^.* $"无法匹配空格尽管*后面加上了空格,该怎么办?
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
C:\>type a.txt
hello world
test
a a
C:\>findstr " " a.txt
FINDSTR: No search strings
C:\>find " " a.txt
---------- A.TXT
hello world
a a
C:\>findstr /c:" " a.txt
hello world
a a