| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. |
| 2 |
.TH XTOKID "1" "May 2020" "xtokid - 4.6.28-15da" "User Commands" |
| 3 |
.SH NAME |
| 4 |
xtokid \- Print all tokens found in a source file. |
| 5 |
.SH SYNOPSIS |
| 6 |
.B xtokid |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Print all tokens found in a source file. |
| 12 |
.TP |
| 13 |
\fB\-i\fR, \fB\-\-include\fR=\fI\,LANGS\/\fR |
| 14 |
include languages in LANGS (default: "C C++ asm") |
| 15 |
.TP |
| 16 |
\fB\-x\fR, \fB\-\-exclude\fR=\fI\,LANGS\/\fR |
| 17 |
exclude languages in LANGS |
| 18 |
.HP |
| 19 |
\fB\-l\fR, \fB\-\-lang\-option\fR=\fI\,L\/\fR:OPT pass OPT as a default for language L (see below) |
| 20 |
.TP |
| 21 |
\fB\-m\fR, \fB\-\-lang\-map\fR=\fI\,MAPFILE\/\fR |
| 22 |
use MAPFILE to map file names onto source language |
| 23 |
.TP |
| 24 |
\fB\-d\fR, \fB\-\-default\-lang\fR=\fI\,LANG\/\fR |
| 25 |
make LANG the default source language |
| 26 |
.TP |
| 27 |
\fB\-p\fR, \fB\-\-prune\fR=\fI\,NAMES\/\fR |
| 28 |
exclude the named files and/or directories |
| 29 |
.TP |
| 30 |
\fB\-\-files0\-from\fR=\fI\,F\/\fR |
| 31 |
tokenize only the files specified by |
| 32 |
NUL\-terminated names in file F |
| 33 |
.TP |
| 34 |
\fB\-\-help\fR |
| 35 |
display this help and exit |
| 36 |
\fB\-\-version\fR output version information and exit |
| 37 |
.PP |
| 38 |
The following arguments apply to the language\-specific scanners: |
| 39 |
.SS "C language:" |
| 40 |
.TP |
| 41 |
\fB\-k\fR,\-\-keep=CHARS |
| 42 |
Allow CHARS in single\-token strings, keep the result |
| 43 |
.TP |
| 44 |
\fB\-i\fR,\-\-ignore=CHARS |
| 45 |
Allow CHARS in single\-token strings, toss the result |
| 46 |
.TP |
| 47 |
\fB\-u\fR,\-\-strip\-underscore |
| 48 |
Strip a leading underscore from single\-token strings |
| 49 |
.SS "C++ language:" |
| 50 |
.TP |
| 51 |
\fB\-k\fR,\-\-keep=CHARS |
| 52 |
Allow CHARS in single\-token strings, keep the result |
| 53 |
.TP |
| 54 |
\fB\-i\fR,\-\-ignore=CHARS |
| 55 |
Allow CHARS in single\-token strings, toss the result |
| 56 |
.TP |
| 57 |
\fB\-u\fR,\-\-strip\-underscore |
| 58 |
Strip a leading underscore from single\-token strings |
| 59 |
.SS "Java language:" |
| 60 |
.TP |
| 61 |
\fB\-k\fR,\-\-keep=CHARS |
| 62 |
Allow CHARS in single\-token strings, keep the result |
| 63 |
.TP |
| 64 |
\fB\-i\fR,\-\-ignore=CHARS |
| 65 |
Allow CHARS in single\-token strings, toss the result |
| 66 |
.TP |
| 67 |
\fB\-u\fR,\-\-strip\-underscore |
| 68 |
Strip a leading underscore from single\-token strings |
| 69 |
.SS "Assembly language:" |
| 70 |
.TP |
| 71 |
\fB\-c\fR,\-\-comment=CHARS |
| 72 |
Any of CHARS starts a comment until end\-of\-line |
| 73 |
.TP |
| 74 |
\fB\-k\fR,\-\-keep=CHARS |
| 75 |
Allow CHARS in tokens, and keep the result |
| 76 |
.TP |
| 77 |
\fB\-i\fR,\-\-ignore=CHARS |
| 78 |
Allow CHARS in tokens, and toss the result |
| 79 |
.TP |
| 80 |
\fB\-u\fR,\-\-strip\-underscore |
| 81 |
Strip a leading underscore from tokens |
| 82 |
.TP |
| 83 |
\fB\-n\fR,\-\-no\-cpp |
| 84 |
Don't handle C pre\-processor directives |
| 85 |
.SS "Text language:" |
| 86 |
.TP |
| 87 |
\fB\-i\fR,\-\-include=CHAR\-CLASS |
| 88 |
Treat characters of CHAR\-CLASS as token constituents |
| 89 |
.TP |
| 90 |
\fB\-x\fR,\-\-exclude=CHAR\-CLASS |
| 91 |
Treat characters of CHAR\-CLASS as token delimiters |
| 92 |
.SS "Perl language:" |
| 93 |
.TP |
| 94 |
\fB\-i\fR,\-\-include=CHAR\-CLASS |
| 95 |
Treat characters of CHAR\-CLASS as token constituents |
| 96 |
.TP |
| 97 |
\fB\-x\fR,\-\-exclude=CHAR\-CLASS |
| 98 |
Treat characters of CHAR\-CLASS as token delimiters |
| 99 |
.TP |
| 100 |
\fB\-d\fR,\-\-dtags |
| 101 |
Include documentation tags |
| 102 |
.PP |
| 103 |
Lisp language: |
| 104 |
.SH "REPORTING BUGS" |
| 105 |
Report bugs to bug\[email protected] |
| 106 |
.SH "SEE ALSO" |
| 107 |
The full documentation for |
| 108 |
.B xtokid |
| 109 |
is maintained as a Texinfo manual. If the |
| 110 |
.B info |
| 111 |
and |
| 112 |
.B xtokid |
| 113 |
programs are properly installed at your site, the command |
| 114 |
.IP |
| 115 |
.B info xtokid |
| 116 |
.PP |
| 117 |
should give you access to the complete manual. |