Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcousens/bindrop
A streaming binary cut tool written in C++
https://github.com/dcousens/bindrop
binary bytes cut pipe stdin stdout streaming unix
Last synced: 1 day ago
JSON representation
A streaming binary cut tool written in C++
- Host: GitHub
- URL: https://github.com/dcousens/bindrop
- Owner: dcousens
- License: mit
- Created: 2017-08-02T08:09:40.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-01-26T02:26:09.000Z (almost 2 years ago)
- Last Synced: 2024-11-23T14:47:50.993Z (about 2 months ago)
- Topics: binary, bytes, cut, pipe, stdin, stdout, streaming, unix
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bindrop
A streaming binary `cut` tool, pipes `stdin` to `stdout`.Byte-for-byte, **not UTF8 aware**.
## Examples
Drop bytes 4:8, every 17 bytes
``` bash
> echo -e 'whats in the box\nwho has the box?' | ./bindrop 4 8 17
what the box
who the box?
```
**Warning**: if the bytes read is not a multiple of the slice length (for example, 17 bytes), the remainder is truncated (dropped).## LICENSE [MIT](LICENSE)