Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个很大的文件目录要在我的桌面上查看,我需要确定是否有任何文件包含英文句子。有没有使用 grep 或 perl 的简单方法?所以 grep "一些大写字母 + 一些单词 + 标点符号"
grep '[[:punct:][:alpha:]]' *.files
你想要这个吗?
find /some/large/dir | xargs grep "some string info with CAPS and !"