tomwalters@0
|
1 .TH BTOA 1 "7 September 1993"
|
tomwalters@0
|
2
|
tomwalters@0
|
3 .SH NAME
|
tomwalters@0
|
4 btoa \- binary to ascii conversion.
|
tomwalters@0
|
5
|
tomwalters@0
|
6 .SH SYNTAX
|
tomwalters@0
|
7 btoa [options] [file]
|
tomwalters@0
|
8
|
tomwalters@0
|
9 .SH DESCRIPTION
|
tomwalters@0
|
10 Read numbers of the given type from the input stream until eof.
|
tomwalters@0
|
11 Print each number on the stdout (one number per line) to the given precision.
|
tomwalters@0
|
12
|
tomwalters@0
|
13 .SH OPTIONS
|
tomwalters@0
|
14
|
tomwalters@0
|
15 1. type
|
tomwalters@0
|
16
|
tomwalters@0
|
17 The input data type, which may be one of the list: char, short, int, float,
|
tomwalters@0
|
18 double, ascii.
|
tomwalters@0
|
19
|
tomwalters@0
|
20 Silent options for short, int and float are retained for compatibility
|
tomwalters@0
|
21 with earlier versions. If used, these override the type option.
|
tomwalters@0
|
22
|
tomwalters@0
|
23 2. precision
|
tomwalters@0
|
24
|
tomwalters@0
|
25 The number of decimal places for ascii output. Setting precision=0 gives
|
tomwalters@0
|
26 (truncated) integer output.
|
tomwalters@0
|
27
|
tomwalters@0
|
28 .SH BUGS
|
tomwalters@0
|
29
|
tomwalters@0
|
30 When converting binary doubles or floats to ascii, and then back to binary,
|
tomwalters@0
|
31 there will be some difference between the binary files because the ascii
|
tomwalters@0
|
32 output is printed with limited precision.
|
tomwalters@0
|
33
|
tomwalters@0
|
34 .SH "SEE ALSO"
|
tomwalters@0
|
35 options atob ftos stof
|
tomwalters@0
|
36
|
tomwalters@0
|
37 .SH COPYRIGHT
|
tomwalters@0
|
38 .LP
|
tomwalters@0
|
39 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
|
tomwalters@0
|
40 .LP
|
tomwalters@0
|
41 Permission to use, copy, modify, and distribute this software without fee
|
tomwalters@0
|
42 is hereby granted for research purposes, provided that this copyright
|
tomwalters@0
|
43 notice appears in all copies and in all supporting documentation, and that
|
tomwalters@0
|
44 the software is not redistributed for any fee (except for a nominal
|
tomwalters@0
|
45 shipping charge). Anyone wanting to incorporate all or part of this
|
tomwalters@0
|
46 software in a commercial product must obtain a license from the Medical
|
tomwalters@0
|
47 Research Council.
|
tomwalters@0
|
48 .LP
|
tomwalters@0
|
49 The MRC makes no representations about the suitability of this
|
tomwalters@0
|
50 software for any purpose. It is provided "as is" without express or
|
tomwalters@0
|
51 implied warranty.
|
tomwalters@0
|
52 .LP
|
tomwalters@0
|
53 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
tomwalters@0
|
54 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
tomwalters@0
|
55 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
|
tomwalters@0
|
56 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
tomwalters@0
|
57 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
tomwalters@0
|
58 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
tomwalters@0
|
59 SOFTWARE.
|