我想找到包含任何单词的行三遍。为此,我认为最好使用该grep命令。
grep
这是我的尝试。
grep '\(.*\)\{3\}' myfile.txt
grep regular-expression
grep ×1
regular-expression ×1