ASCII(1)                                                 ASCII(1)

          ascii - interpret ASCII characters

          ascii [ -oxd | -bn ] [ -nct ] [ -e ] [ text ]

          Ascii prints the ASCII values corresponding to characters
          and vice versa. The values are interpreted in a settable
          numeric base; -o specifies octal (the default), -d decimal,
          -x hexadecimal, and -bn base n .

          With no arguments, ascii reproduces /usr/pub/ascii in the
          specified base.  Any given characters of text are converted
          to their ASCII values, one per line.  If, however, the first
          argument of text is a valid number in the specified base, it
          is printed as plain text (control characters are printed as
          they appear in /usr/pub/ascii).  The option -n forces the
          output to numeric form and -c forces the output to printable
          characters.  The option -t converts, without interpretation,
          from numbers to text.  Finally, -e forces the following
          arguments to be interpreted as text .

          ascii -d
               Print the ASCII table base 10.

          ascii p
               Print the octal value of `p'.

          ascii 160
               Show which character is octal 160.