bfs — Big File Scanner

Synopsis

/usr/bin/bfs [-] filename
					

Description

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 ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.