| 34 |
|
][ |
| 35 |
|
.B \-tS |
| 36 |
|
] |
| 37 |
– |
[ |
| 37 |
|
input.idx |
| 38 |
|
[output.txt] |
| 40 |
– |
] |
| 39 |
|
.SH DESCRIPTION |
| 40 |
|
.I Rcode_ident |
| 41 |
< |
Takes a list of ASCII identifiers on the input and encodes them |
| 41 |
> |
takes a list of ASCII identifiers on the input and encodes them |
| 42 |
|
as a 16-bit index to a table appended to the output. |
| 43 |
|
This default index size can hold up to 65 thousand unique IDs, |
| 44 |
|
which is suitable for most applications. |
| 48 |
|
if 256 or fewer unique identifiers appear on the input. |
| 49 |
|
The |
| 50 |
|
.I \-24 |
| 51 |
< |
option creates a 24-bit index can record over 16 million |
| 51 |
> |
option creates a 24-bit index that can record over 16 million |
| 52 |
|
unique identifiers. |
| 53 |
|
.PP |
| 54 |
|
Identifiers are separated by newlines by default, but any single-character |
| 61 |
|
.PP |
| 62 |
|
Input is taken from the first named file, or standard input if no |
| 63 |
|
files are given. |
| 64 |
+ |
(Input file is required for |
| 65 |
+ |
.I \-r |
| 66 |
+ |
option.) |
| 67 |
|
Output is sent to the second named file, or standard output if none. |
| 68 |
|
.PP |
| 69 |
|
The |
| 85 |
|
.I \-r |
| 86 |
|
option to read an indexed id file and produce the original |
| 87 |
|
identifiers for each pixel position on the output. |
| 88 |
+ |
With this option, the ID file must be given on the |
| 89 |
+ |
command line and cannot be read from the standard input. |
| 90 |
|
The |
| 91 |
|
.I \-h |
| 92 |
|
and |
| 114 |
|
the horizontal and vertical coordinates of a particular pixel, |
| 115 |
|
where x is measured from 0 on the left and y from 0 at the bottom |
| 116 |
|
in the standard orientation. |
| 114 |
– |
Note that |
| 115 |
– |
.I \-i |
| 116 |
– |
implies that an indexed ID file is explicitly given on the command |
| 117 |
– |
line, since the pixel coordinates are read from the standard input. |
| 117 |
|
If the |
| 118 |
|
.I \-u |
| 119 |
|
option is also given, output will be flushed after each identifier |