Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

858 B
Raw Blame

title: "How do I search the man pages installed on a Linux machine?" target_format: man pages evidence:

  • claim: "man.rs reads a roff man(7) page, gzipped or not, as one record per .SH section" source: "engine/crates/xerj-autoindex/src/extract/man.rs"
  • claim: "autoindex walks a local filesystem and types each file" source: "engine/crates/xerj-autoindex/src/lib.rs"

How do I search the man pages installed on a Linux machine?

Point xerj autoindex at the man directory. XERJ recognizes a roff page by its .TH line, reads .gz pages directly, and writes one record per section with the page title, such as GREP(1), and the one-line summary from NAME.

xerj autoindex /usr/share/man/man1

Pages written in the BSD mdoc macros are not parsed and are indexed as plain text, and there is no apropos or whatis database.