XTOKID(1)
π XTOKID π
okay bestie, welcome to xtokid, a user command, and honestly? she's giving very specific tool energy and I'm obsessed. no cap.
β¨ NAME β¨
xtokid β print all tokens found in a source file π
πΈ SYNOPSIS πΈ
xtokid [OPTION]... [FILE]...
π¦ DESCRIPTION π¦
Print all tokens found in a source file. that's it, that's the whole job, and she does it flawlessly π
the options are like, the whole personality here, so let's go one by one. and yeah, some of these flags get reused down in the language-specific sections, so read the section headers, bestie β context is everything π«Ά
-i,--include=LANGSβ include the languages in LANGS (default:"C C++ asm") β-x,--exclude=LANGSβ exclude the languages in LANGS π-l,--lang-option=L:OPTβ pass OPT as a default for language L (see below, okay? the below is important, don't skip it π)-m,--lang-map=MAPFILEβ use MAPFILE to map file names onto source language πΊοΈ-d,--default-lang=LANGβ make LANG the default source language π-p,--prune=NAMESβ exclude the named files and/or directories βοΈ--files0-from=Fβ tokenize only the files specified by NUL-terminated names in file F π (NUL-terminated, not newline. respect the NUL.)--helpβ display this help and exit π--versionβ output version information and exit π
The following arguments apply to the language-specific scanners: π§
π C language: π
-k,--keep=CHARSβ allow CHARS in single-token strings, keep the result-i,--ignore=CHARSβ allow CHARS in single-token strings, toss the result-u,--strip-underscoreβ strip a leading underscore from single-token strings
π C++ language: π
-k,--keep=CHARSβ allow CHARS in single-token strings, keep the result-i,--ignore=CHARSβ allow CHARS in single-token strings, toss the result-u,--strip-underscoreβ strip a leading underscore from single-token strings
π Java language: π
-k,--keep=CHARSβ allow CHARS in single-token strings, keep the result-i,--ignore=CHARSβ allow CHARS in single-token strings, toss the result-u,--strip-underscoreβ strip a leading underscore from single-token strings
π₯ Assembly language: π₯
-c,--comment=CHARSβ any of CHARS starts a comment until end-of-line-k,--keep=CHARSβ allow CHARS in tokens, and keep the result-i,--ignore=CHARSβ allow CHARS in tokens, and toss the result-u,--strip-underscoreβ strip a leading underscore from tokens-n,--no-cppβ don't handle C pre-processor directives
π Text language: π
-i,--include=CHAR-CLASSβ treat characters of CHAR-CLASS as token constituents-x,--exclude=CHAR-CLASSβ treat characters of CHAR-CLASS as token delimiters
π Perl language: π
-i,--include=CHAR-CLASSβ treat characters of CHAR-CLASS as token constituents-x,--exclude=CHAR-CLASSβ treat characters of CHAR-CLASS as token delimiters-d,--dtagsβ include documentation tags
β¨ Lisp language: β¨
okay so. Lisp language: β¦and then there's just nothing listed under it. no options. no bullets. nothing. she said "Lisp" and moved on π iconic behaviour honestly, the mystery is the moment.
π REPORTING BUGS π
Report bugs to bug-idutils@gnu.org β be nice, they're doing their best, and please don't just send "it broke" with no details, bestie, that's not the vibe π
π«Ά SEE ALSO π«Ά
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. go read it, it's lowkey the main character of this whole thing π
and that's the whole page, bestie!! π this one's from xtokid β 4.6.28-15da, dated May 2020. slay, periodt, go tokenize something π¦β¨
π¦ where this page comes from
- debian bookworm: id-utils 4.6.28-20200521ss15dab+b1
- ubuntu jammy: id-utils 4.6.28-20200521ss15dab
- ubuntu noble: id-utils 4.6.28-20200521ss15dab
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms