NNPOST(1)
β¨ NNPOST(1) β the post-news glow-up β¨
okay bestie, real talk: this is nnpost, part of the nn news crew π
πΈ NAME πΈ
nnpost β post news articles (nn). yeah that's it, that's the whole vibe π«Ά
π SYNOPSIS π
nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]
π DESCRIPTION π
so nnpost is what you use when you wanna post brand new articles through nn's normal interface, but you do not want to actually enter nn in reading mode. like, we're posting, not scrolling. main character energy only π
when it starts up it reads the init file, and then it straight-up just runs nn's :post command. no detours, no small talk, instant slay β¨
then it's gonna prompt you for a whole lil to-do list: a (comma-separated) list of news groups, the article subject, a list of keywords, a summary, and the distribution of the article. and guess what β every single one of those prompts can also be handed over via command line options or arguments, as described down below. your choice, girl π
when it's prompting you for "Newsgroup:", here's the tea:
- type
?as the very first key βnnpostlists all the known news groups and their purpose (if that info is available, no cap) - type
/followed by a word or a regular expression β you get a (much) shorter listing that only has the groups whose name and/or purpose description matches that regular expression. obsessed with a filtered feed π - when you're paging through either list, you can type
qto quit the listing. bye bye π
if you specify a source file with -f, that file gets used as the initial article body. and if you ALSO throw in the -p option? the article gets posted directly, no editing at all. straight to the feed, periodt π₯
nnpost can also do unattended postings β like, it posts all by itself β if you give it enough arguments on the command line to build up the header and the body of the article. the required arguments are:
- one or more newsgroups
- a subject (
-s) - a source file (
-f) - a distribution (
-d) - and the
-poption
any other fields you didn't specify (like keywords, for example) just won't be included in the header. not invited to the party, lowkey π₯² and heads up: the contents of the news-header variable in the init file will be included in the header. it always shows up. iconic behavior fr fr.
β¨ OPTIONS β¨
-ddistribution β use the specified distribution for the article. that's the distribution, bestie, put it where it belongs π¬-k"keywords" β associate the specified keywords with the article. keyword girlies rise π·οΈ-s"subject" β use the specified subject for the new article. subject line = first impression, make it cute π-y"summary" β include the given summary in the article header. a lil TL;DR moment, we love her π-ffile β read the article body from the specified file. body from a file, no typing required π-pβ post the article specified with-fwithout editing. no preview, no second thoughts, just send it π
ngl bestie,-pmeans it posts with zero editing. if your-ffile isn't right, that's what goes out. be sure before you yeet it π
π¦ FILES π¦
~/.nn/initβ the control variables fornnpost. this is where the settings live, protect her π«Ά
π SEE ALSO π
nn(1)β the whole nn family, go say hi π
π AUTHOR π
Kim F. Storm, Texas Instruments A/S, Denmark E-mail: storm@texas.dk
and that's the page, bestie!! this whole thing came to you from the 4th Berkeley Distribution, Release 6.7.5 β go forth and post responsibly πΈπβ¨π
π¦ where this page comes from
- ubuntu stonking: nn 6.7.5-1 Β· permissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms