lkbib(1)
π lkbib β search bibliographic databases π
ok so bestie, welcome to lkbib(1) β the little icon that digs through your bibliographic databases and finds your references for you. it's a General Commands Manual moment fr fr, and i'm gonna walk you through it like we're texting at 2am π«Ά
β¨ SYNOPSIS β¨
lkbib [-n] [-i fields] [-p file] ... [-t n] key ...
lkbib --help
lkbib -v
lkbib --version
like, that's the whole vibe check up there π three ways to call her, pick your fighter π
πΈ DESCRIPTION πΈ
okay so here's the tea: lkbib searches bibliographic databases for references matching all the keywords key, and writes any references it finds to the standard output stream. slay π
it reads the databases given by the -p options first, and then β unless you pass -n β it hits up a default database too. and where does that default database come from, you ask? it's taken from the REFER environment variable if it's set, otherwise it's /usr/dict/papers/Ind. no cap, that's the fallback.
and here's the cute part π: for each database file it's gonna search, if an index file .i created by indxbib(1) exists, then it searches that instead. iconic behavior. also each index can cover multiple databases, so it's giving efficiency queen π
π¦ OPTIONS π¦
--helpβ displays a usage message. that's it. that's the whole job.-v,--versionβ show version information.-istring β when searching files that have no index, ignore the contents of fields whose names are in string. (no index? no problem, just skip those fields bestie π)-nβ suppress search of the default database. like, don't even look at it. not today.-pfile β search file. and yes, you can stack multiple-poptions, go off π₯-tn β require only the first n characters of keys to be given. the default is6.
heads up!--help,-v, and--versionall exit afterward β so they're doing their little thing and then dipping immediately, no further searching. periodt π
π EXIT STATUS π
- status
0β successful operation. she ate, no crumbs β¨ - status
2β the program cannot interpret its command-line arguments. (bestie, what did you type π) - status
1β it encountered an error during operation. it tried, okay π₯Ί
π ENVIRONMENT π
REFERβ assign this variable a file name to override the default database. your database, your rules π
π FILES π
/usr/dict/papers/Indβ default database to be used if theREFERenvironment variable is not set. the classic fallback. the old reliable. the main character πfile.iβ index files.
π§ SEE ALSO π§
- βSome Applications of Inverted Indexes on the Unix Systemβ, by M. E. Lesk, 1978, AT&T Bell Laboratories Computing Science Technical Report No. 69. (yes the whole title, i'm not abbreviating scholarship π )
refer(1),lookbib(1),indxbib(1)
ok that's the whole page bestie, go forth and find your references π¦ iykyk β¨
groff 1.24.2 Β· 2026-10-01 β that's the version and date, love you, bye π«Άπ
π¦ where this page comes from
- alpine 3.24: groff-doc 1.24.2-r0 Β· GPL-3.0-or-later
- Copyright (C) 1989-2024 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms