NNTIDY(1)

πŸ’… NNTIDY β€” yeah that's the manual name, section 1, general commands energy πŸŽ€

okay bestie, welcome to nntidy(1), and no this is not a drill: it's the glow-up your crusty little .newsrc has been begging for πŸ’–


✨ NAME ✨

nntidy β€” tidy your personal .newsrc file 🧚


🌸 SYNOPSIS 🌸

nntidy [ -aciNQrsuv ]  [ group ]...

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. nntidy will clean out non-existing groups, adjust obviously wrong article numbers, and remove badly formed lines from your .newsrc file. it's giving personal-hygiene-for-your-rc-file, honestly.

it may optionally also remove:

  • ignored groups πŸ™ˆ
  • unsubscribed groups πŸ’€
  • groups which are not part of your presentation sequence β€” or not the groups you specified on the command line πŸ‘‘

you should run nntidy if your rc file has been corrupted for some reason. like, if it's a mess, it's messy, we fix it, periodt.


πŸ‘‘ OPTIONS πŸ‘‘

  • -a β€” Equivalent to -cisu. the whole combo meal, bestie πŸ“
  • -c β€” Remove unrecognized lines. This will also remove the options line used by some older news readers, such as readnews(1). bye to the legacy clutter πŸ’…
  • -i β€” Remove entries for groups which are ignored in the database, e.g. entries marked with X in the GROUPS file. if the database is ignoring it, we're ignoring it too ✨
  • -r β€” Remove entries for unsubscribed groups. you said no, so it's a no 🌸
  • -s β€” Remove entries which are not included in the group presentation sequence defined in the init file. If one or more *group*s are specified on the command line, entries not matched by these groups (and their subgroups etc) will be removed. Notice that depending on how you construct the presentation sequence, this may cause unsubscribed groups to be removed from .newsrc, but this will not normally happen. ⚠️
  • -u β€” Truncate entries for unsubscribed groups, by removing the article numbers and leaving only the news group name and the ! mark. so it's like alt.stuff! and nothing else. sleek βœ‚οΈ
  • -v β€” Verbose operation. Reports each change made to the .newsrc file. she's narrating her own makeover, and honestly? iconic πŸŽ€
  • -N β€” No update mode. The requested operations are performed, but the result is not written back to disk. This can be used with the -v option to see whether tidying is required. basically a vibe check before you commit πŸ‘€
  • -Q β€” Quiet operation. The version information is not printed. shhh 🀫

πŸŽ€ FILES πŸŽ€

  • ~/.newsrc β€” The record of read articles πŸ“–
  • ~/.newsrc.tidy β€” The original rc file before tidy 🫢 (yes, she keeps the before pic)

🌈 SEE ALSO 🌈

nn(1), nncheck(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nnadmin(1M), nnusage(1M), nnmaster(8)

the whole friend group, go say hi πŸ’œ


πŸ’– AUTHOR πŸ’–

Kim F. Storm, Texas Instruments A/S, Denmark E-mail: storm@texas.dk


and that's the whole page, no cap. this came to you from the 4th Berkeley Distribution, Release 6.7.5 β€” that's the source and the version, and the footer didn't hand me a date to spill, so that's all the tea I've got πŸ¦‹ mwah, go tidy ur rc πŸ’…

πŸ“¦ where this page comes from