https://github.com/ext/bintac
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ext/bintac
- Owner: ext
- Created: 2014-01-22T15:59:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-22T16:00:38.000Z (over 12 years ago)
- Last Synced: 2024-11-26T01:46:08.996Z (over 1 year ago)
- Language: C
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Like `tac` (cat reverse) and `rev` but works on bytestream instead of line-by-line.
Usage: `bintac FILES..`
## Example
% cat test
foo
bar
abc
% bintac test | hexdump -C
00000000 0a 0a 63 62 61 0a 72 61 62 0a 6f 6f 66 |..cba.rab.oof|
0000000d
## TODO
* work with stdin (need to buffer entire stream, cannot work on chunks)