ANNO(1)
β¨ NAME β¨
okay bestie, this is the manual page for anno from the General Commands Manual π and it's literally the cutest little tool π anno is how you annotate nmh messages π
π SYNOPSIS π
anno [-help] [-version] [+folder] [msgs] [-component field] [-inplace |
-noinplace] [-date | -nodate] [-draft] [-append] [-list] [-delete]
[-number [num|all]] [-preserve | -nopreserve] [-text body]
π¦ DESCRIPTION π¦
okay so anno lets you mess with header fields or annotations inside messages π«Ά a header field is a field name plus an optional field body, and that's defined by RFC 2822 (the nerdy rulebook π€). The -component switch sets the field name and the -text switch sets the field body. Easy.
The messages it works on are either the msgs in the folder you name, or the draft if you use -draft β¨
Usually, annotation is handled by dist, forw, and repl if you give them the -anno switch. This is how you keep track of who your message got distributed to, forwarded to, and replied to π so iconic.
But ngl, you can also do your own arbitrary annotations π every message you select gets annotated with these lines:
field: date
field: body
The -nodate switch is for when you want to skip the date line and only keep the body annotation π
By default, anno prepends annotations to the message. If you want them tacked on at the end instead, use -append πΈ
If you don't pass a -component field when you run anno, it'll prompt you for a field name. No stress, it's got you π§
The field you pick has to be a valid RFC 2822-style message field name, which means it can only have alphanumeric characters and dashes π The body can be any arbitrary text you want π
Normally anno does the annotation in place so any links to the message stay intact π if you'd rather it didn't, use -noinplace β¨
The -list switch gives you a listing of the field bodies for header fields whose names match your component, one per line π Add -number and the listing gets numbered starting at 1. A tab separates the number from the field body π The field body gets treated like a file name, so only the final path name component is listed. Want the whole thing? Use -text. The argument to -text is required but ignored, so just put something there π
The -delete switch removes header fields from messages ποΈ If you don't use any other options, it deletes the first header field whose name matches the component. If you pair -text with -delete, it deletes the first header field whose name matches the component and whose body matches your text. The text gets treated like a file name too: if it begins with a slash, the entire field body has to match, otherwise just the last path name component of the field body has to match π§
If you use -number with -delete, it deletes header field num whose name matches the component. The number matches whatever -list produces π’ And the special value all is the main character move: it deletes every component that matches the name π
By default, anno changes the last-accessed and last-modified times on annotated messages to the time of the annotation β° If you want to keep the original times, use -preserve. The -nopreserve switch turns time preservation off, which matters if it's been enabled in your profile π
π¨ heads up: the -delete switch removes header fields, so double-check your component and text before you hit enter. no take-backs, bestie π
πΈ FILES πΈ
$HOME/.mh_profileβ this is the user's profile, the little settings file thatannochecks in on π‘
π PROFILE COMPONENTS π
Path:β this one helpsannofigure out the user's nmh directory πCurrent-Folder:β this one helpsannofind the default current folder π
π¦ SEE ALSO π¦
dist(1), forw(1), repl(1) π«Ά these are your besties in the annotation squad
π DEFAULTS π
+folderβ the current folder πmsgsβ the current message π-inplaceβ the default annotation style, so links stay happy π-dateβ the date annotation is included by default π
β¨ CONTEXT β¨
if you give anno a folder, that folder becomes the current folder π and the first message it annotates becomes the current message π
okay that's the whole tea π« this page came from nmh-1.8, dated 2005-12-07, and it's the ANNO(1) manual page. slay, bestie, go annotate something ππ¦π
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: nmh 1.8
- nixpkgs unstable: nmh 1.8
- opensuse-leap 16.0: nmh 1.8-bp160.1.13 Β· BSD-3-Clause
- opensuse-leap 16.0: nmh 1.8-bp160.1.13 Β· BSD-3-Clause
- opensuse-leap 16.0: nmh 1.8-bp160.1.13 Β· BSD-3-Clause
- opensuse-leap 16.0: nmh 1.8-bp160.1.13 Β· BSD-3-Clause
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms