Manual Reference Pages - ATOB (1)
atob - ascii to binary conversion.
atob [options] [file]
Read ascii numbers (one per line) from the input stream until eof. Write each number on the stdout in the given data type.
The output data type, which may be one of the list: char, short, int, float, double, ascii.
Silent options for short, int and float are retained for compatibility with earlier versions. If used, these override the type option.
When converting binary doubles or floats to ascii, and then back to binary, there will be some difference between the binary files because the ascii output is printed with limited precision.
options btoa ftos stof
Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
Permission to use, copy, modify, and distribute this software without fee is hereby granted for research purposes, provided that this copyright notice appears in all copies and in all supporting documentation, and that the software is not redistributed for any fee (except for a nominal shipping charge). Anyone wanting to incorporate all or part of this software in a commercial product must obtain a license from the Medical Research Council.
The MRC makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|SunOS 5.6||ATOB (1)||2 September 1993|