项目作者: guiprav

项目描述 :
Binary stream read/write utility for shell scripting and other joys of life
高级语言: C
项目地址: git://github.com/guiprav/xx.git
创建时间: 2015-10-24T06:01:36Z
项目社区:https://github.com/guiprav/xx

开源协议:GNU Affero General Public License v3.0

下载


xx

xx is a binary stream read / write utility for shell scripting and other joys of life.

Example usage

  1. $ xx --char "xx is nice" >example
  2. $ cat example
  3. xx is nice
  4. $ xx --int32 12345 --uint8 1 2 3 4 5 >example
  5. $ xxd example
  6. 00000000: 3930 0000 0102 0304 05 90.......
  7. $ xx -r --int32 --uint8 5 <example
  8. 12345
  9. 1 2 3 4 5
  10. $ xx --uint16 65535 |xx -r --int16
  11. -1

Etc.

Note: xxd(1) is not part of this project.

License

xx is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Exclusion of warranty

xx is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

A copy of AGPLv3 can be found in COPYING.