SPIT(1)

πŸ“¦
version 1.0 Β· 2 versions
, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ’– SPIT(1) β€” the manual, but make it cute πŸ’–

okay bestie, sit DOWN, because spit is about to become your new fave little command. this is the spit(1) page from the User Commands section and I'm giving you the whole thing, no skips, no cap. 🫢


✨ NAME ✨

spit β€” translate some text through a Large Language Model


🌸 SYNOPSIS 🌸

spit [OPTION...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: spit takes your standard input and hands it straight to a Large Language Model (LLM) instance, then prints whatever the model says back. that's it. that's the whole thing. πŸ’…

and if you hit it with the --to option? then it translates your standard input into whatever language you picked, going through a Large Language Model (LLM), and prints the translation. multilingual queen behavior. πŸ‘‘

⚠️ warning, and I mean this one for real: the output might not be what you expect. it might be the wrong form, it might be lowkey bad quality, or it might be carrying some biases. the LLM is doing its best but it is not your academic advisor, okay? 😭

πŸ’… OPTIONS πŸ’…

  • --species=TYPE β€” tells spit what kind of LLM you're working with. the default value is 'ollama', and it's also the only valid value, so like... it's giving "one option only" energy. πŸŽ€
  • --url=URL β€” the URL of the server that's running the LLM. point it at your guy. πŸ“
  • -m, --model=MODEL β€” picks the model to use. choose your fighter. πŸ”₯
  • --to=LANGUAGE β€” sets the target language for the translation. this is your "translate it into ___" button. 🌈
  • --prompt=TEXT β€” sets the prompt that goes before your standard input. heads up though: this option overrides the --to option. so if you set both, --prompt wins, periodt. πŸ‘‘
  • --postprocess=COMMAND β€” a command to post-process the output. like a lil glow-up filter for whatever the model spat out. ✨

πŸ“£ Informative output:

  • -h, --help β€” display this help and exit. the classic "help meee" move. πŸ™ˆ
  • -V, --version β€” output version information and exit. for when you need to know exactly which era of spit you're living in. ⭐

πŸ‘‘ AUTHOR πŸ‘‘

Written by Bruno Haible. (ty king 🫢)


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, bestie. report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.


Copyright Β© 2025-2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

πŸ’€ no warranty, bestie. to the extent permitted by law. we said what we said.

πŸ” SEE ALSO πŸ”

The full documentation for spit is maintained as a Texinfo manual. If the info and spit programs are properly installed at your site, the command

info spit

should give you access to the complete manual. go read the whole thing, it's giving thorough. πŸ“šβœ¨


and that's the tea! πŸ“ this was GNU gettext-tools 1.0, dated January 2026 β€” mwah, iconic, no notes. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from