FLIST(1)

πŸ“¦
version 1.8 Β· 4 versions
, in alpine 3.24, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

🌸 FLIST β€” the manual, but make it bestie 🌸

okay so this is the manual page for flist and flists (that's the flist(1) section 1, General Commands Manual vibe) β€” they list how many nmh messages live in given sequences. it's giving "let me count ur mail for u" and honestly? iconic. πŸ’–


✨ NAME ✨

flist, flists β€” list the number of nmh messages in given sequences πŸ¦‹


✨ SYNOPSIS ✨

flist [-help] [-version] [+folder1 [+folder2 ...]]  [-sequence name1
     [-sequence name2 ...]]  [-all | -noall] [-showzero | -noshowzero]
     [-recurse | -norecurse] [-fast | -nofast] [-alpha | -noalpha]

flists is equivalent to flist -all

✨ DESCRIPTION ✨

so basically, flist is the girl who goes through a whole list of folders and tells you how many messages in them belong to a given sequence or set of sequences β€” think the β€œunseen” sequence, yk? πŸ’… this is especially the move if you're out here using something like slocal or procmail (typically with rcvstore in the mix) to pre-sort your mail into different folders before you even look at it. queen behavior, honestly.

by default, flist will search the current folder for the given sequence or sequences (usually β€œunseen”). but if you pass one or more folders on the command line with +folder β€” yes, multiple is allowed, live ur truth β€” then all those folders get searched for the given sequence(s). and for each folder it searches, flist will show you the number of messages in each of the specified sequences, plus the total number of messages. receipts on receipts. 🧾✨

the -sequence switch specifies the sequence that messages should belong to. you can give this switch multiple times to specify multiple sequences. if you don't give it, the default is to search for all the sequences specified by the β€œUnseen-Sequence” profile component. for more deets about sequences, go read mh-sequence(5). πŸ“–

typically, flist will produce a line for each sequence, for every folder that is searched β€” even the folders that don't contain any messages in the given sequence. (yes bestie, it's giving over-sharer.) but if you specify -noshowzero, it'll only print those folder/sequence combos where the folder actually has a non-zero number of messages in the given sequence. filtering. we love her. πŸ’…

if -recurse is given, then for each folder that's searched, flist will also recursively descend into those folders to search subfolders for the given sequence. it's going deeper. πŸ•³οΈπŸ¦‹

if -fast is given, only the names of the folders searched will be displayed, and flist will suppress all other output. and if you use this option together with -noshowzero, then flist will only print the names of those folders searched that contain messages in at least one of the specified sequences. minimalism era. ✨

🌈 Multiple Folders 🌈

if the -all switch is given (and no folders are specified with +folder), then flist will search all the folders in the top level of the user's nmh directory. these folders are all preceded by the read-only folders, which occur as β€œatr-cur-” entries in the user's nmh context. okay so it's like, everyone gets a turn. πŸ‘‘

an example of the output of flist -all is:

/work/Mail  has  5 in sequence unseen (private); out of  46
inbox+      has 10 in sequence unseen          ; out of 153
junklist    has  0 in sequence unseen          ; out of  63
postmaster  has  1 in sequence unseen          ; out of   3

the β€œ+” after inbox indicates that it is the current folder. main character folder, obviously. ⭐

the β€œprivate” flag indicates that the given sequence for that folder is private. see mh-sequence(5) for details about private sequences. 🀫

if the option -all and +folder are both specified, then flist will search this folder, and all its first level subfolders for the given sequence. you may specify multiple folders in this way. go off. πŸ’–

if flist is invoked by a name ending with β€œs” (e.g. flists), then the switch -all is assumed by default. sneaky little naming trick, iykyk. πŸ™ˆ

the sorting order for the listing is alphabetical (with -alpha), or in a priority order defined by the β€œFlist-Order” profile entry (with -noalpha). each item in the β€œFlist-Order” is a folder name or a folder name pattern that uses * to match zero or more characters. longer matching patterns have precedence over shorter matching patterns. for example:

Flist-Order: personal petproject mh* * admin *junk

this order puts a few interesting folders first β€” like those with mail addressed to you personally, those about a pet project, and those about mh-related things. it places uninteresting folders at the end, and it puts everything else in the middle in alphabetical order. tier list energy, fr fr. πŸ†


✨ FILES ✨

  • $HOME/.mh_profile β€” the user's profile. πŸŽ€

✨ PROFILE COMPONENTS ✨

  • Path: β€” to determine the user's nmh directory.
  • mh-sequences: β€” file that contains public sequences.
  • Unseen-Sequence: β€” the name of the unseen message sequence.
  • Flist-Order: β€” to sort folders by priority.

✨ SEE ALSO ✨

folder(1), rcvstore(1), slocal(1), mh-sequence(5)


✨ DEFAULTS ✨

  • -sequence β€” the Unseen-Sequence profile entry.
  • -showzero
  • -noall
  • -norecurse
  • -noalpha
  • -nofast

✨ CONTEXT ✨

if +folder is given, it will become the current folder. if multiple folders are given, the last one specified will become the current folder. last one wins, bestie. periodt. πŸ’…


πŸ’€ heads up: that's the whole page, no notes skipped, no flags ghosted. every switch stayed exactly where it was. we don't do omissions here. 🫢

and that's a wrap on this one, bestie!! πŸŽ€πŸ’– this page is from nmh-1.8, dated 1999-04-30, so like β€” vintage but still slaying, fr fr. go count ur mail, u got this. πŸŒΈβœ¨πŸ¦‹πŸ‘‘