recode-sr-latin(1) on Solnix vs Linux and the BSDs
recode-sr-latin is the GNU gettext tool that converts Serbian text from Cyrillic to Latin script, reading standard input and writing standard output. It is not in the Solnix base system: install pkgs.solnix.gettext. The Solnix and Linux pages are the same program.
The manual pages
- Solnix: recode-sr-latin(1) from
pkgs.solnix.gettext - Linux: recode-sr-latin(1) gettext-1.0
What Solnix runs
Not installed by default: add pkgs.solnix.gettext. The Solnix page is built from GNU gettext-tools 0.22.5 and no other illumos variants are shipped.
Differences
| Compared with | Topic | What differs |
|---|---|---|
| Linux | same program | Solnix and Linux both document the GNU gettext recode-sr-latin with the same synopsis, the same description and the same two options (-h/--help, -V/--version). The only visible difference is the version: the Solnix page is gettext-tools 0.22.5 (February 2024), the Linux page gettext-tools 1.0 (January 2026).Source: Solnix recode-sr-latin(1) SYNOPSIS, DESCRIPTION, footer; Linux recode-sr-latin(1) SYNOPSIS, DESCRIPTION, footer |
| all four | not in base system | The command is absent from a default Solnix system. Install pkgs.solnix.gettext to get it. The bundle does not say whether the Linux package is installed by default. Source: Solnix header (command on PATH: none: install pkgs.solnix.gettext); Solnix recode-sr-latin(1) NAME |
| FreeBSD, OpenBSD, NetBSD | no BSD counterpart page | The bundle contains no FreeBSD, OpenBSD or NetBSD page for recode-sr-latin, so the manual gives nothing to compare. Do not assume the command exists on those systems. Source: Bundle header lists only a linux counterpart |
| all four | input and output | On Solnix the tool takes no file arguments. The synopsis is recode-sr-latin [OPTION], input comes from standard input and output goes to standard output. Use shell redirection for files. Source: Solnix recode-sr-latin(1) SYNOPSIS, DESCRIPTION |
Standards
- POSIX: recode-sr-latin is not a POSIX.1-2024 utility.
Writing portable scripts
- Check that recode-sr-latin is on PATH before calling it, and install pkgs.solnix.gettext on Solnix if it is not.
- Pass data through stdin and stdout (recode-sr-latin < in.txt > out.txt) rather than naming files, since the page documents no file arguments.
Every difference here is taken from the manual pages linked above: Solnix's published page, Linux (man-pages and the GNU and util-linux manuals), FreeBSD, OpenBSD and NetBSD. Each row names its source. Where a manual is silent, this page is too. Compiled 2026-10-26. Found a mistake? Mail hackers@lists.solnix.io.