DOKK / manpages / debian 12 / id-utils / xtokid.1.en
XTOKID(1) User Commands XTOKID(1)

xtokid - Print all tokens found in a source file

xtokid [OPTION]... [FILE]...

Print all tokens found in a source file.

include languages in LANGS (default: "C C++ asm")
exclude languages in LANGS

-l, --lang-option=L:OPT pass OPT as a default for language L (see below)

use MAPFILE to map file names onto source language
make LANG the default source language
exclude the named files and/or directories
tokenize only the files specified by NUL-terminated names in file F
display this help and exit --version output version information and exit

The following arguments apply to the language-specific scanners:

Allow CHARS in single-token strings, keep the result
Allow CHARS in single-token strings, toss the result
Strip a leading underscore from single-token strings

Allow CHARS in single-token strings, keep the result
Allow CHARS in single-token strings, toss the result
Strip a leading underscore from single-token strings

Allow CHARS in single-token strings, keep the result
Allow CHARS in single-token strings, toss the result
Strip a leading underscore from single-token strings

Any of CHARS starts a comment until end-of-line
Allow CHARS in tokens, and keep the result
Allow CHARS in tokens, and toss the result
Strip a leading underscore from tokens
Don't handle C pre-processor directives

Treat characters of CHAR-CLASS as token constituents
Treat characters of CHAR-CLASS as token delimiters

Treat characters of CHAR-CLASS as token constituents
Treat characters of CHAR-CLASS as token delimiters
Include documentation tags

Lisp language:

Report bugs to bug-idutils@gnu.org

The full documentation for the id-utils package is maintained as a Texinfo manual. If the info and id-utils packages are properly installed, the command

info 'ID database'

should give you access to the complete manual.

May 2020 xtokid - 4.6.28-15da