|
|
1.1 ! root 1: .TH ASCII 1 ! 2: .CT 1 inst_info ! 3: .SH NAME ! 4: ascii \- interpret ASCII characters ! 5: .SH SYNOPSIS ! 6: .B ascii ! 7: [ ! 8: .BI -oxdb n ! 9: ] ! 10: [ ! 11: .B -nct ! 12: ] ! 13: [ ! 14: .B -e ! 15: ] ! 16: [ ! 17: .I text ! 18: ] ! 19: .SH DESCRIPTION ! 20: .I Ascii ! 21: prints the ! 22: .SM ASCII ! 23: values corresponding to characters and ! 24: .I vice ! 25: .IR versa . ! 26: The values are interpreted in a settable numeric base; ! 27: .B -o ! 28: specifies octal (the default), ! 29: .B -d ! 30: decimal, ! 31: .B -x ! 32: hexadecimal, and ! 33: .BI -b n ! 34: base ! 35: .I n. ! 36: .PP ! 37: With no arguments, ! 38: .I ascii ! 39: reproduces ! 40: .F /usr/pub/ascii ! 41: in the specified base. ! 42: Characters of ! 43: .I text ! 44: are converted to their ! 45: .SM ASCII ! 46: values, one per line. ! 47: If, however, the first ! 48: .I text ! 49: argument ! 50: is a valid number in the specified base, conversion ! 51: goes the opposite way. ! 52: Control characters are printed as they appear in ! 53: .FR /usr/pub/ascii . ! 54: Other options are: ! 55: .TP ! 56: .B -n ! 57: Force numeric output. ! 58: .TP ! 59: .B -c ! 60: Force character output. ! 61: .TP ! 62: .B -t ! 63: Convert from numbers to running text; do not interpret ! 64: control characters or insert newlines. ! 65: .TP ! 66: .B -e ! 67: Interpret remaining arguments as ! 68: .I text. ! 69: .SH EXAMPLES ! 70: .TP ! 71: .L "ascii -d" ! 72: Print the ! 73: .SM ASCII ! 74: table base 10. ! 75: .TP ! 76: .L "ascii p" ! 77: Print the octal value of `p'. ! 78: .TP ! 79: .L "ascii 160" ! 80: Show which character is octal 160. ! 81: .SH "SEE ALSO ! 82: .IR ascii (6)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.