EID(1)

πŸ“¦
version 4.6.28 Β· 4 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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. so Slay and slay and SLAY are 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 of token, pattern or none. pick your fighter. πŸ’–
  • -R, --result=STYLE β€” STYLE is one of filenames, grep, edit or none.
  • -S, --separator=STYLE β€” STYLE is one of braces, space or newline, 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 as N..M. if N is omitted, it defaults to 1; if M is omitted, it defaults to MAX_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. 0x girlies 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