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