Updated: October 26, 2022

Encode a binary file into ASCII


uue [-n] input_file [-]

Runs on:

QNX Neutrino


The number of lines to put into each file.
The file that you want to encode.


The uue utility encodes a binary file as ASCII (e.g., for mailing). The encoding takes 3 bytes (24 bits) from the input file and renders them as 4 bytes in the output file.

By default, the output file is input_file.uue; if you specify a dash at the end of the command, uue writes the encoded file to standard output.

Note: If you want to read from standard input (e.g., a pipe), use uuencode instead of uue.

If you specify the -n option, uue writes the encoded file to input_file.uaa, input_file.uab, and so on.

To decode the file, use uud.