windows powershell 等价|grep的用法

计算机天才
·

grep是linux下的一个程序,用来对shell输出的字符串过滤的。windows下一般是没有的,但是powershell有相应的功能findstr

Example:

CMake --system-information |findstr "CMAKE_INSTALL_PREFIX"
社区准则 博客 联系 社区 状态
主题