E2A(1)

E2A(1)                         ZOAU Command Syntax                        E2A(1)

NAME

  e2a - Convert file from EBCDIC to ASCII.

SYNOPSIS

  e2a [-dFhv] [-f <code page>] [-t <code page>] <FILE>

  -d
      Run in debug mode.

  -F
      Force conversion regardless of file tag.

  -f <code page>
      Specify the current code page. Default is IBM-1047.

  -h
      Print this syntax message.

  -t <code page>
      Specify the target code page. Default is ISO8859-1.

  -v
      Run in verbose mode.

DESCRIPTION

  e2a converts and tags a file on disk from an EBCDIC code page to an ASCII code page.
  This command preserves file tags and timestamps, and issues
  warnings if the file is already tagged as ASCII or binary.

  When using -f or -t, the command accepts the code page name but
  not the numeric identifier.

EXAMPLES

  Convert a file that is tagged as IBM-1047 to ISO8859-1:

      e2a /home/myfile

  Convert a file that is tagged as IBM-037 to ISO8859-2:

      e2a -f IBM-037 -t ISO8859-2 /home/myfile

  Force the conversion of a file that is tagged as binary:

      e2a -F /home/mybinaryfile

EXIT VALUES

  0
      Conversion was successful.

  4
      Invalid syntax.

  8
      Error in file parameter.

  16
      File is already tagged as the target code page.

SEE ALSO

a2e(1)