CROSSPOST(8)
β¨ NAME β¨
crosspost β creates the links for cross posted articles π
πΈ SYNOPSIS πΈ
crosspost [ -D dir ] [ -s ] [ file... ]
π DESCRIPTION π
okay bestie, listen up β crosspost reads group and article number data from files, or from standard input if you don't hand it any files. (And yes, a single dash in the file list means "read standard input," classic move π
.) It takes all that info and creates the hard, or symbolic, links for cross posted articles.
crosspost was literally designed to be used by InterNetNews to create the links as the articles come in. Normally innd creates the links, but when you let crosspost do it instead, innd spends way less time waiting on disk IO. slay. In this mode you'd start innd(8) using the -L flag.
Now, the input format. crosspost expects it to look like this:
group.name/123 group2.name/456 group3.name/789
with one line per article. Any dots in the input get translated into / so the news group turns into a pathname. The first field is assumed to be the name of an existing copy of the article, and crosspost will attempt to link all the subsequent entries to that first one β using hard links if possible, or symbolic links if that fails. π¦
By default, crosspost processes its input as an INN channel feed written as a WR entry in the newsfeeds(5) file, like this:
crosspost:*:Tc,Ap,WR:/usr/lib/news/bin/crosspost
And if you wanna process the history file and re-create all the links for all articles, you do:
awk <history -F' ' '(NF > 2){print $3}' | crosspost
(where the -F is followed by a tab character, bestie β not spaces, a tab π)
The -D flag can be used to specify where the article spool is stored. The default directory is /var/spool/news. π
By default crosspost will fsync(2) each article after updating the links. The -s flag can be used to prevent this. no cap, that's literally what it does.
π HISTORY π
Written by Jerry Aguirre <jerry@ATC.Olivetti.Com>. iconic author behavior tbh π«Ά
π SEE ALSO π
newsfeeds(5), innd(8). go read those next, i'm obsessed with the lore β¨
and that's the whole page, bestie β from the System Manager's Manual, CROSSPOST(8) section, no date on this one but it's giving classic manpage energy. periodt. π
πΈ
π¦ where this page comes from
- debian bookworm: inn 1:1.7.2q-47
- debian trixie: inn 1:1.7.2q-52
- ubuntu jammy: inn 1:1.7.2q-46build3
- ubuntu noble: inn 1:1.7.2q-50
- ubuntu questing: inn 1:1.7.2q-52
- ubuntu resolute: inn 1:1.7.2q-52build1
- ubuntu stonking: inn 1:1.7.2q-52build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms