TRN-ARTCHK(1)

✨ TRN-ARTCHK β€” the manual page, but make it cute ✨

okay bestie, so this is TRN-ARTCHK(1), a General Commands Manual situation, and we're about to get you fully caught up πŸ’–


🌸 NAME 🌸

trn-artchk β€” the lil tool that checks whether a news article is actually valid πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

trn-artchk article maxLineLen newsgroupsFile activeFile

πŸ’… DESCRIPTION πŸ’…

so trn-artchk will check an article that's meant for posting to USENET and vibe-check it for validity, printing warnings when it finds problems. and like, the name kind of says it all β€” it's mostly meant to be used internally by the trn(1) newsreader. it's giving "backstage crew," not "main character." πŸŽ€

it checks the article for a whole bunch of problems, including:

  • overlong lines 😭
  • incorrect header syntax
  • a missing trailing newline
  • attempts to post to invalid newsgroups πŸ’€

and then it prints a summary of the groups the article is intended for, with descriptions. so thoughtful, honestly. 🫢


🌈 OPTIONS 🌈

  • article β€” this should be the file containing the article you want checked. the whole point. the moment. ✨
  • maxLineLen β€” should be the maximum line length to accept. if the article has any lines longer than this, a warning gets issued. no cap, it will notice. πŸ‘€
  • newsgroupsFile β€” should be a newsgroups file in the standard format used by NNTP servers. if the file is not found, trn-artchk will attempt to make an NNTP connection to go get that info instead. note that even if you want to get the information from the server, this article must still be present, as a placeholder. it's just there to hold the spot, like a jacket on a chair. πŸ™ˆ
  • activeFile β€” should be an NNTP server active file. the exact same notes apply to this as to the newsgroupsFile argument. twinsies. πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Wayne Davison, Stan Barber and Larry Wall are all candidates for authorship of trn-artchk; its provenance is uncertain. it's giving mystery origin story, honestly πŸ”₯

Peter Maydell <pmaydell@chiark.greenend.org.uk> wrote this manual page. thank you for your service, icon. 🫑


⭐ SEE ALSO ⭐

  • trn(1)

and that's the whole page, bestie β€” written back in March 2000, coming to you from the TRN-ARTCHK(1) source, General Commands Manual division. mwah. πŸ’‹