.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.15. .TH XTOKID "1" "May 2020" "xtokid - 4.6.28-15da" "User Commands" .SH NAME xtokid \- Print all tokens found in a source file .SH SYNOPSIS .B xtokid [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... .SH DESCRIPTION Print all tokens found in a source file. .TP \fB\-i\fR, \fB\-\-include\fR=\fI\,LANGS\/\fR include languages in LANGS (default: "C C++ asm") .TP \fB\-x\fR, \fB\-\-exclude\fR=\fI\,LANGS\/\fR exclude languages in LANGS .HP \fB\-l\fR, \fB\-\-lang\-option\fR=\fI\,L\/\fR:OPT pass OPT as a default for language L (see below) .TP \fB\-m\fR, \fB\-\-lang\-map\fR=\fI\,MAPFILE\/\fR use MAPFILE to map file names onto source language .TP \fB\-d\fR, \fB\-\-default\-lang\fR=\fI\,LANG\/\fR make LANG the default source language .TP \fB\-p\fR, \fB\-\-prune\fR=\fI\,NAMES\/\fR exclude the named files and/or directories .TP \fB\-\-files0\-from\fR=\fI\,F\/\fR tokenize only the files specified by NUL\-terminated names in file F .TP \fB\-\-help\fR display this help and exit \fB\-\-version\fR output version information and exit .PP The following arguments apply to the language\-specific scanners: .SS "C language:" .TP \fB\-k\fR,\-\-keep=CHARS Allow CHARS in single\-token strings, keep the result .TP \fB\-i\fR,\-\-ignore=CHARS Allow CHARS in single\-token strings, toss the result .TP \fB\-u\fR,\-\-strip\-underscore Strip a leading underscore from single\-token strings .SS "C++ language:" .TP \fB\-k\fR,\-\-keep=CHARS Allow CHARS in single\-token strings, keep the result .TP \fB\-i\fR,\-\-ignore=CHARS Allow CHARS in single\-token strings, toss the result .TP \fB\-u\fR,\-\-strip\-underscore Strip a leading underscore from single\-token strings .SS "Java language:" .TP \fB\-k\fR,\-\-keep=CHARS Allow CHARS in single\-token strings, keep the result .TP \fB\-i\fR,\-\-ignore=CHARS Allow CHARS in single\-token strings, toss the result .TP \fB\-u\fR,\-\-strip\-underscore Strip a leading underscore from single\-token strings .SS "Assembly language:" .TP \fB\-c\fR,\-\-comment=CHARS Any of CHARS starts a comment until end\-of\-line .TP \fB\-k\fR,\-\-keep=CHARS Allow CHARS in tokens, and keep the result .TP \fB\-i\fR,\-\-ignore=CHARS Allow CHARS in tokens, and toss the result .TP \fB\-u\fR,\-\-strip\-underscore Strip a leading underscore from tokens .TP \fB\-n\fR,\-\-no\-cpp Don't handle C pre\-processor directives .SS "Text language:" .TP \fB\-i\fR,\-\-include=CHAR\-CLASS Treat characters of CHAR\-CLASS as token constituents .TP \fB\-x\fR,\-\-exclude=CHAR\-CLASS Treat characters of CHAR\-CLASS as token delimiters .SS "Perl language:" .TP \fB\-i\fR,\-\-include=CHAR\-CLASS Treat characters of CHAR\-CLASS as token constituents .TP \fB\-x\fR,\-\-exclude=CHAR\-CLASS Treat characters of CHAR\-CLASS as token delimiters .TP \fB\-d\fR,\-\-dtags Include documentation tags .PP Lisp language: .SH "REPORTING BUGS" Report bugs to bug\-idutils@gnu.org .SH "SEE ALSO" The full documentation for the .B id-utils package is maintained as a Texinfo manual. If the .B info and .B id-utils packages are properly installed, the command .IP .B info 'ID database' .PP should give you access to the complete manual.