glenda.party
term% ls -F
term% cat index.txt
ASCII(1)                    General Commands Manual                   ASCII(1)



NAME
       ascii - interpret ASCII characters

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

DESCRIPTION
       Ascii  prints  the  ASCII  values  corresponding to characters and vice
       versa.  The values are interpreted in a settable numeric base; -o spec‐
       ifies 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  val‐
       ues,  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 print‐
       able  characters.  The option -t converts, without interpretation, from
       numbers to text.  Finally, -e forces the following arguments to be  in‐
       terpreted as text .

EXAMPLES
       ascii -d
              Print the ASCII table base 10.

       ascii p
              Print the octal value of `p'.

       ascii 160
              Show which character is octal 160.

SEE ALSO
       ascii(7)



                                                                      ASCII(1)