August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/bfs [-] filename
The bfs command is similar to ed(1) except that it is read-only and processes much larger files. Files can be up to 1024 Kbytes and 32-Kbyte lines, with up to 512 characters, including newline, per line (255 for 16-bit machines). bfs is usually more efficient than ed(1) for scanning a file because the file is not copied to a buffer. It is most useful for identifying sections of a large file where you can use csplit(1) to divide the file into more manageable pieces for editing.
Normally, the size of the file being scanned is printed, as is the size of any file written with the w (write) command. The optional - suppresses printing of sizes. You can turn on prompting for ...
Read now
Unlock full access