EID(1)
π EID(1) β like, the eid manual but make it make sense π
okay bestie, so this is the manual for eid, a User Commands situation, and I'm gonna walk you through it like we're texting at 1am. stay with me, it's actually so good.
β¨ NAME β¨
eid β query the ID database and report the results. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
eid [OPTION]... PATTERN...
so you give it some options, you give it some patterns, it goes and does its thing. iconic behaviour honestly. β¨
π¦ DESCRIPTION π¦
Query the ID database and report results. By default, the output is multiple lines β and every single line has the matched identifier first, followed by the list of file names where that identifier shows up. like a little receipt of where everything lives. π
okay now the options, and there are a LOT, so hydrate:
-f,--file=FILEβ tells it the file name of the ID database. yes, FILE is the file name, you got this.-i,--ignore-caseβ matches PATTERN case insensitively. soSlayandslayandSLAYare all the same thing to it. queen of not being picky. π-l,--literalβ matches PATTERN as a literal string. no funny business, exactly what you typed.-r,--regexpβ matches PATTERN as a regular expression. now we're doing regex, bestie, stay calm.-w,--wordβ matches PATTERN as a delimited word.-s,--substringβ matches PATTERN as a substring.
Note: if PATTERN contains extended regular expression metacharacters, it gets interpreted as a regular expression substring. otherwise, PATTERN is interpreted as a literal word. so it kinda reads the room and decides for you. π
-k,--key=STYLEβ STYLE is one oftoken,patternornone. pick your fighter. π-R,--result=STYLEβ STYLE is one offilenames,grep,editornone.-S,--separator=STYLEβ STYLE is one ofbraces,spaceornewline, and heads up, this one only applies to file names when--result=filenames. no cap.
so yeah β the STYLE options up there are the ones that control how query results get presented. and the defaults are literally:
--key=token --result=filenames --separator=space
screenshot that, you'll need it. πΈ
-F,--frequency=FREQβ finds tokens that occur FREQ times, where FREQ is a range written asN..M. ifNis omitted, it defaults to1; ifMis omitted, it defaults toMAX_USHRT. cute little range, very flexible. π-a,--ambiguous=LENβ finds tokens whose names are ambiguous for LEN chars.-x,--hexβ only finds numbers expressed as hexadecimal.0xgirlies rise. π₯-d,--decimalβ only finds numbers expressed as decimal.-o,--octalβ only finds numbers expressed as octal.
By default, searches match numbers of any radix. so it's not picky until you make it picky. π
--helpβ displays this help and exits. the classic.--versionβ outputs version information and exits.
π REPORTING BUGS π
found a bug? report it to bug-idutils@gnu.org. don't be shy, they wanna know. π«Ά
π SEE ALSO π
the full documentation for eid is maintained as a Texinfo manual (yes, Texinfo, we respect the elders). if the info and eid programs are properly installed at your site, then running this:
info eid
should give you access to the complete manual. go get your full lore, bestie. πβ¨
okay and for the little sign-off moment: this whole thing is eid - 4.6.28-15da, dated May 2020, and it's EID(1) energy all the way down. mwah. π
ππ
π¦ 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