FindList
Usage
• FindList["file", "text"] 在包含指定串的文件中给出行列表。
• FindList["file", " ", " ", ... ]给出包含任何指定串的所有行的列表。
• FindList[ " ", ... , ... ]给出在任何  中包含指定串的行的列表。
• FindList[files, text, n]仅包含找到的前 n 行。
Notes
• 如果它不能找到任何包含指定文本的记录,FindList 返回 {}。 • 如果FindList 打开一个文件或管道,当它完成时再次关闭。
|