处理文本文件通常包括读取信息单元(通常叫做字符或行),然后对刚读取的单元执行适当操作。
Processing a text file often consists of sequentially reading a unit of information (typically either a character or a line) and doing something in response to the unit you've just read.
在其它情况下,即使文本文件不是完全无状态,数据也只有有限的上下文(例如,操作取决于不比行号更多的信息)。
In other cases, even though the text file is not completely stateless, the data has a limited context (for example, the action might not depend on much more than the line number).
为便于操作和编辑,您可以将想要归档的文件和目录放进一个文本文件中,然后在命令行通过- T开关引用这个文本文件。
For ease of operation and editing, you can put the files and directories that you want to archive in a text file, which you reference with the -t switch.
应用推荐