Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (t - u) uudecode(1)
NAME
uudecode - Decodes a binary file
SYNOPSIS
uudecode [ file ... ]
DESCRIPTION
The uudecode command reads an encoded file, strips off any leading and trailing lines added by
mailers, and recreates the original file with its original file access permissions and pathname.
If the pathname of the file to be produced exists and the user does not have write permission on
that file, uudecode terminates with an error. If the pathname of the file to be produced exists and
the user has write permission on that file, the existing file is overwritten.
Operands
file Specifies the pathname of a binary file to be decoded. If this operand is omitted,
the standard input file is decoded.
Environment Variables
This command supports the use of the LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and
NLSPATH environment variables.
EXIT VALUES
The uudecode command returns the following values:
0 (zero) The command completed successfully.
>0 An error occurred.
RELATED INFORMATION
Commands: uuencode(1).
STANDARDS CONFORMANCE
This command conforms to the XPG4 Version 2 specification with extensions.
The following features are extensions to the XPG4 Version 2 specification:
• More than one file can be specified.
527188-007 Hewlett-Packard Company 9−39