Projects / bbe

bbe

bbe is a sed-like editor for binary files. Instead of reading input in lines as sed, bbe reads arbitrary blocks from an input stream and performs byte-related transformations on found blocks. Blocks can be defined using start/stop strings, stream offset and block length, or a combination. Basic editing commands include delete, replace, search/replace, binary operations (and, or, etc.), append, and bcd/ASCII conversion. For examining the input stream, it contains some grep-like features like printing the input file name, stream offset, and block number of found blocks. Block contents can also be printed in different formats like hex, octal, ASCII, and binary.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  08 Nov 2006 13:38

    Release Notes: The "x" command has been added.

    •  02 Nov 2006 10:32

      Release Notes: Problems with zero size input were corrected.

      •  16 Mar 2006 14:34

        Release Notes: The d-command was changed, so count can be replaced with *, meaning all bytes in a block. The man page now displays correctly in HP-UX.

        •  15 Nov 2005 19:41

          Release Notes: The commands < and > have been added for inserting the contents of a file to an output stream. The commands u and f have been added for initializing part of a block or a whole block with a specific byte value.

          •  08 Nov 2005 19:46

            Release Notes: More sane results when byte ranges of i and d commands overlap.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.