openrussian(1)

πŸ“¦ version 1.0.0, in nixos 26.05, nixpkgs unstable

πŸŽ€ openrussian(1) β€” Offline Console Russian Dictionary πŸŽ€

okay so bestie, welcome to the openrussian(1) page from the General Commands Manual. This is your terminal-friendly Russian dictionary era β€” no cap, it's giving offline console main character energy. πŸ’…

🌸 NAME 🌸

openrussian β€” Offline Console Russian Dictionary (based on openrussian.org). periodt. πŸ’–

✨ SYNOPSIS ✨

openrussian [-L lang] [-V] [-p] [pattern ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: this is an offline console and terminal-friendly Russian dictionary, based on the database of openrussian.org. obsessed.

The search term is specified as a glob(7) pattern. All non-option parameters are concatenated into a single space-separated search pattern, so there is no need to quote search terms containing spaces. Any accent combining character (u0301) is stripped from the input pattern. The pattern is matched against:

  • word base forms (infinitives, singular nominative nouns and singular nominative male adjectives);
  • word inflections (conjugations, imperatives, declinations), unless the -V (verbatim) option is specified;
  • translations according to the translation languages. The translation languages (currently en, de or a combination thereof) are guessed from the system locale(5), but can be overwritten using the -L option.

The accent is always ignored when matching search terms. If more than one words are found matching the search pattern, the user is presented with a list of them. After choosing one β€” or if there is a direct match β€” the information is displayed using the system man(1) page browser. The -p (pipe) option can be used to output the man-page source (see groff_man(7)) to stdout instead. This may be useful for storing them, generating PDF files, etc. iykyk. πŸ”₯

πŸ’… OPTIONS πŸ’…

  • -L lang β€” Overwrite the translation languages. Either en (English) or de (German) may be specified. The space after -L is optional, so you may also for instance write β€œ-Lde”. Multiple translations can be displayed on the same page by specifying -L multiple times. The order -L flags also matters and determines the order of translated material on the result page. the way order matters is so real.
  • -V β€” Turn on verbatim matching, ie. turn off any kind of inflection matching and case folding. This may reduce the number of results for ambiguous search terms. vibe check: fewer results.
  • -p β€” Output the man-page to stdout instead of piping it directly into the man-page browser. pipe it, bestie.
  • pattern ... β€” The search term as a number of glob(7) patterns. 🌈

πŸ“ EXAMPLES πŸ“

A simple lookup:

openrussian ΡΠ°ΠΌΠΎΡ€Π°Π·Ρ€ΡƒΡˆΠ΅Π½ΠΈΠ΅

Display the German translation:

openrussian -Lde ΡΠ°ΠΌΠΎΡ€Π°Π·Ρ€ΡƒΡˆΠ΅Π½ΠΈΠ΅

Display both German and English translations, giving precedence to German:

openrussian -Lde -Len ΡΠ°ΠΌΠΎΡ€Π°Π·Ρ€ΡƒΡˆΠ΅Π½ΠΈΠ΅

If you are unsure which consonants appear in this word:

openrussian самора[сз]Ρ€Ρƒ[ΡˆΡ‰]Π΅Π½ΠΈΠ΅

Find more words derived from β€œΡ€Π°Π·Ρ€ΡƒΡˆΠ΅Π½ΠΈΠ΅β€:

openrussian *Ρ€Π°Π·Ρ€ΡƒΡˆΠ΅Π½ΠΈΠ΅

Avoid ambiguous search results:

openrussian -V коса

Look up by translation:

openrussian catch a cold

Graphical display using groffer(1):

openrussian -p кошка | groffer -Kutf8 --mode pdf2

You may have to specify a non-default font supporting cyrillic characters via groffer's -f option. font side quest, but make it slay.

🌟 SEE ALSO 🌟

glob(7), locale(5), man(1), groff_man(7), groffer(1), openrussian.org website. go explore, bestie. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

This manpage and the openrussian.lua script was written by Robin Haberkorn. iconic author moment. πŸ’–

This page was brought to you by openrussian.lua, dated 19 April 2019, hanging out in openrussian(1). byeee bestie πŸ’–βœ¨

πŸ“¦ where this page comes from