BSD Ports

converters/ascii2binary 2.14_2 FreeBSD

Convert between textual representations of numbers and binary

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3
Categories
converters
Package size
28.1 KiB, 73.7 KiB installed

Description

These programs convert between textual and binary representations of numbers. ascii2binary reads input consisting of textual representations of numbers separated by whitespace and produces as output the binary equivalents. The type and precision of the binary output is selected using command line flags.

binary2ascii reads input consisting of binary numbers and converts them to their textual representation. Command line flags specify the type and size of the binary numbers and provide control over the format of the output. Unsigned integers may be written out in binary, octal, decimal, or hexadecimal. Signed integers may be written out only in binary or decimal. Floating point numbers may be written out only decimal, either in standard or scientific notation. (If you want to examine the binary representation of floating point numbers, just treat the input as a sequence of unsigned characters.)

The two programs are useful for generating test data, for inspecting binary files, and for interfacing programs that generate textual output to programs that require binary input and conversely. They can also be useful when it is desired to reformat numbers.

In the other systems

SystemPortVersion
FreeBSDconverters/ascii2binary2.14_2
DragonFlyconverters/ascii2binary2.14_2

Install

Binary package:

pkg install ascii2binary

From the ports tree:

cd /usr/ports/converters/ascii2binary/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ascii2binary>0:converters/ascii2binary

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.14_22.14_22.14_12.14_22.14_2
FreeBSD:14:quarterly2.14_22.14_2n/a2.14_22.14_2
FreeBSD:15:latest2.14_22.14_2n/a2.14_22.14_2
FreeBSD:15:quarterly2.14_22.14_2n/an/an/a
FreeBSD:16:latest2.14_22.14_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
gettext-runtime localbase:ldflags tar:bzip2
Service scripts
none

Message after installing

===>   NOTICE:

The ascii2binary port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
ascii2binary-2.14.tar.bz2830912635184f3281c8871298be037dbba2a294b97e30784b0374d2ebdeda58778935
Master sites 1
  • http://billposer.org/Software/Downloads/

Commit history 0

No commits in the history this site was built from.