MKID(1)
π MKID β the manual page, bestie edition π
okay so you found mkid and you're like "what is this" β don't worry, I got you. it's the mkid command from the User Commands corner of the manual, and it's literally the thing that builds your identifier database. iconic behavior. let's go. π¦
β¨ NAME β¨
mkid β Build an identifier database. that's it, that's the whole job, and she does it flawlessly. π
πΈ SYNOPSIS πΈ
mkid [OPTION]... [FILE]...
π DESCRIPTION π
Build an identifier database. no cap, that's the vibe: you point it at files, it hands you back a database of identifiers.
here's the whole option menu, and I mean the whole menu β every single one:
-o,--output=OUTFILEβ the file name of your ID database output. this is where the magic gets written. β¨-f,--file=OUTFILEβ literally just a synonym for--output. same energy, different name.-i,--include=LANGSβ include the languages inLANGS(default:"C C++ asm").-x,--exclude=LANGSβ exclude the languages inLANGS.-l,--lang-option=L:OPTβ passOPTas a default for languageL(see below π).-m,--lang-map=MAPFILEβ useMAPFILEto map file names onto source language.-d,--default-lang=LANGβ makeLANGthe default source language.-p,--prune=NAMESβ exclude the named files and/or directories. bye bestie, not you. π-v,--verboseβ report per file statistics.-s,--statisticsβ report statistics at end of run.--files0-from=Fβ tokenize only the files specified by NUL-terminated names in fileF.--helpβ display this help and exit. π«Ά--versionβ output version information and exit.
FILE may be a file name, or a directory name to recursively search. and if you give it no FILE at all? it just searches the current directory by default. easy.
β οΈ heads up bestie: the--includeand--excludeoptions are mutually-exclusive. pick a lane. π
The following arguments apply to the language-specific scanners:
π§ C language:
-k,--keep=CHARSβ AllowCHARSin single-token strings, keep the result.-i,--ignore=CHARSβ AllowCHARSin single-token strings, toss the result.-u,--strip-underscoreβ Strip a leading underscore from single-token strings.
π C++ language:
-k,--keep=CHARSβ AllowCHARSin single-token strings, keep the result.-i,--ignore=CHARSβ AllowCHARSin single-token strings, toss the result.-u,--strip-underscoreβ Strip a leading underscore from single-token strings.
π Java language:
-k,--keep=CHARSβ AllowCHARSin single-token strings, keep the result.-i,--ignore=CHARSβ AllowCHARSin single-token strings, toss the result.-u,--strip-underscoreβ Strip a leading underscore from single-token strings.
π₯ Assembly language:
-c,--comment=CHARSβ Any ofCHARSstarts a comment until end-of-line.-k,--keep=CHARSβ AllowCHARSin tokens, and keep the result.-i,--ignore=CHARSβ AllowCHARSin 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 ofCHAR-CLASSas token constituents.-x,--exclude=CHAR-CLASSβ Treat characters ofCHAR-CLASSas token delimiters.
β Perl language:
-i,--include=CHAR-CLASSβ Treat characters ofCHAR-CLASSas token constituents.-x,--exclude=CHAR-CLASSβ Treat characters ofCHAR-CLASSas token delimiters.-d,--dtagsβ Include documentation tags.
π Lisp language:
...that's it. that's the whole list. Lisp gets a heading and absolutely nothing under it and honestly? main character energy. π
π REPORTING BUGS π
Report bugs to bug-idutils@gnu.org. tell them everything, they want to know. π«Ά
π 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. iykyk. β¨
and that's the whole page, bestie! this one's from mkid, version 4.6.28-15da, dated May 2020. go build that database, you're gonna slay. πππ¦
π¦ 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