CVTBATCH(8)

πŸ’… CVTBATCH(8) β€” like, the cvtbatch page, bestie ✨

okay so real talk, this is cvtbatch from the InterNetNews Documentation, section 8 of the manual (the sysadmin girlies know πŸ‘‘). it converts Usenet batch files into INN format and honestly? it's giving humble-but-iconic. let's get into it πŸŽ€


🌸 NAME 🌸

cvtbatch β€” converts Usenet batch files into INN format. that's the whole job. she does one thing and she slays at it πŸ’…


✨ SYNOPSIS ✨

cvtbatch [-w items]

that's it. one optional flag. minimal queen behaviour 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: cvtbatch reads standard input as a sequence of lines, converts each line, and writes it to standard output. main character energy from start to finish, no cap ✨

what it's for (iykyk): it converts simple batch files that contain just the storage API token of an article into INN batch files that contain additional information about each article. so it's basically a glow-up machine for your batch file πŸ’–

each line is taken as a storage API token indicating a Usenet article. and listen β€” only the first word of each line is parsed; anything following whitespace is ignored, fr fr. lines not starting with a valid token are also silently ignored πŸ™ˆ (no error, no drama, she just moves on).

πŸ’‘ pro tip straight from the page: if your input file consists of a series of message-IDs, then use grephistory with the -s flag piped into cvtbatch. that's the move. that's the pipeline. periodt.

πŸ’… OPTIONS πŸ’…

  • -w items β€” specifies how each output line should be written ✍️. the items for this flag should be chosen from the "W" flag items as specified in newsfeeds(5). they may be chosen from the following set:
    • b β€” size of the article in bytes πŸ“
    • f β€” storage API token of the article (same as "n") 🏷️
    • m β€” article message-ID πŸ’Œ
    • n β€” storage API token of the article πŸ”–
    • t β€” arrival time of the article as seconds since epoch ⏰

and the default? the default is "nm", that is to say the storage API token followed by the message-ID of the article. so if you don't say anything, you get n then m. iconic defaults honestly πŸŽ€


🌈 HISTORY 🌈

written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. converted to POD by Julien Elie. legends only πŸ‘‘βœ¨


πŸ“ SEE ALSO πŸ“

go read those too, bestie, they're lowkey relevant πŸ”₯


<div align="center">πŸ’– πŸ¦‹ πŸ’… πŸŽ€ 🌸</div>

and that's the whole page!! this one's from INN 2.7.4, dated 2022-07-10 β€” so she's a 2.7.4 girlie from July 10th, 2022, and she ate, no crumbs πŸ’œβœ¨ πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from
  • arch rolling: inn 2.7.4-4 Β· ISC
  • epel 10: inn 2.7.4-5.el10_3 Β· ISC AND BSD-3-Clause AND BSD-4-Clause AND FSFAP AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND MIT AND NTP
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms