Created attachment 458522 [details] ebuild Hi! This utility used to convert hex or dec to binary format and vice versa. I cannot find analog of this tool, only perl -e '...'. So I wrote it by myself and find it useful. Examples: hex -> bin $ i2bits 0xfe 00000000.00000000.00000000.11111110 dec -> bin $ i2bits 4242 00000000.00000000.00010000.10010010 bin -> hex $ i2bits -h 11111110 0xfe bin -> dec $ i2bits -d 1000010010010 4242 Tool is written in C. I suggest app-misc/i2bits. Ebuild file is attached. Best regards, Pavel Balaev
commit 2d7c8e3d689bedc8ed6b526e127444ea8938bbac (HEAD -> master, origin/master, origin/HEAD) Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: Mon Jan 9 23:56:15 2017 +0100 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Mon Jan 9 23:56:40 2017 +0100 app-misc/i2bits: new ebuild. i2bits is an utility to convert hex or dec to binary format. Gentoo-Bug: https://bugs.gentoo.org/604506 Package-Manager: portage-2.3.0 app-misc/i2bits/Manifest | 1 + app-misc/i2bits/i2bits-0.0.2.ebuild | 27 +++++++++++++++++++++++++++ app-misc/i2bits/metadata.xml | 11 +++++++++++ 3 files changed, 39 insertions(+) create mode 100644 app-misc/i2bits/Manifest create mode 100644 app-misc/i2bits/i2bits-0.0.2.ebuild create mode 100644 app-misc/i2bits/metadata.xml Thanks for your contribution!