bfs
rose1 发表于 2020-08-15 05:41浏览次数:
在类似Unix的操作系统上,bfs是ed编辑器的修改版本,它是只读的,旨在处理大文件。
注意:bfs被认为是Unix传家宝(旧版)程序,可能无法通过操作系统的软件包管理器进行安装。
On Unix-like operating systems, bfs is a modified version of the ed editor that is read-only, and designed to process large files.
Note: bfs is considered a Unix heirloom (legacy) program, and may not be available for installation by your operating system's package manager.
目录:
1 bfs 运行系统环境
2 bfs 说明
3 bfs 语法
4 bfs 例子
bfs 运行系统环境
bfs 说明
bfs加载,查看和分析非常大的文本文件。 它不会将文本加载到缓冲区中,并且不允许修改内容。
bfs的预期用途是检查文件,以确定可以使用csplit将文件拆分为较小的文件。 然后可以使用ed编辑更易于管理的作品。
bfs loads, views and analyzes very large text files. It does not load the text into a buffer, and does not allow the contents to be modified.
The intended use of bfs is to examine a file to determine where it can be split into smaller files using csplit. The more manageable pieces can then be edited with ed.
bfs 语法
bfs [ - ] file name
选件
-
|
通常,bfs显示有关正在查看的文件大小的信息。如果指定了-(单破折号),则bfs将禁止显示此信息。
|
文档名称
|
您要查看的文件的名称。
|
bfs [ - ] file name
Options
-
|
Normally bfs displays information about the size of the file being viewed. If - (a single dash) is specified, bfs will suppresses this information.
|
file name
|
The name of the file that you want to view.
|
bfs 例子
bfs myfile.txt
加载并显示文件myfile.txt。
bfs myfile.txt
Loads and displays the file myfile.txt.