diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2026-06-06 12:17:21 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2026-06-06 12:17:21 -0400 |
| commit | 4aec9800fca665713b0eba19f10af927b483332e (patch) | |
| tree | 65d1b6cc83f34e9343c058e36bfe10474ff3d5ee /man/bib-ls.1 | |
| parent | eabf1f6d74dac497ce31e3e2f441cfa25e9f74f2 (diff) | |
| download | bibutils-4aec9800fca665713b0eba19f10af927b483332e.tar.gz | |
Documentation
Diffstat (limited to 'man/bib-ls.1')
| -rw-r--r-- | man/bib-ls.1 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/man/bib-ls.1 b/man/bib-ls.1 new file mode 100644 index 0000000..b0de33e --- /dev/null +++ b/man/bib-ls.1 @@ -0,0 +1,40 @@ +.TH BIB-LS 1 "June 2026" "bibutils" "User Commands" +.SH NAME +bib-ls \- list the entries in a bibtex database +.SH SYNOPSIS +.B bib-ls +.RB [ \-l ] +.RI [ file " ...]" +.SH DESCRIPTION +.B bib-ls +reads bibtex databases from the named files (or standard input) and +lists their entries on standard output, one per line. +By default only the citation keys are printed. +.SH OPTIONS +.TP +.B \-l +Long format: print key, entry type, author, year and title, +tab-separated. +Author lists are abbreviated to the first author followed by +\(lqet al.\(rq, so that the output remains one line per entry and +pipes cleanly into +.BR grep (1), +.BR cut (1) +and +.BR sort (1). +.SH EXIT STATUS +0 on success. +.SH ENVIRONMENT +.TP +.B BIBUTILS_LIB +Directory holding the shared awk library, overriding the default +search (lib/ next to the script, then /usr/local/share/bibutils). +.SH EXAMPLES +Find everything by Lamport in a database: +.nf +bib-ls -l refs.bib | grep -i lamport +.fi +.SH SEE ALSO +.BR bib-check (1), +.BR bib-extract (1), +.BR bib-util (1) |