IMGREP(1p)

πŸ“¦
version 153 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’Œ IMGREP(1p) β€” the Internet Message commands girlies πŸ’…

okay so bestie, welcome to the IMGREP manual page, straight out of the Internet Message commands section. grab a strawberry πŸ“, sit down, and let's get into it.


✨ NAME ✨

imgrep β€” search for mail/news messages πŸ”πŸ’–


🌸 SYNOPSIS 🌸

imgrep [OPTIONS] [FOLDER] [RANGE]

πŸ¦‹ DESCRIPTION πŸ¦‹

the imgrep command enumerates mail/news messages matched given patterns. that's it, that's the whole vibe β€” it goes through your messages and finds the ones that match, periodt. πŸ‘‘

this command is provided by IM (Internet Message). iykyk. ✨


πŸŽ€ OPTIONS πŸŽ€

so many options, and honestly? every single one of them is iconic. let's go one by one, no skipping, fr fr. 🫢

  • -s, --src=FOLDER,FOLDER... β€” message source, written like "+folder:[range[,range..]]".

lowkey important: "--src=+xxx" is equivalent to "+xxx". same thing, different font. πŸ’…

  • -f, --format=STRING β€” the output format. your choices are "number", "folder", or "path".

the default is "number" for a single target folder, and "path" for multiple target folders. the way it just knows what you want based on how many folders you gave it? main character energy honestly. 🌈

  • -c, --casefold={on,off} β€” case sensitivity. and heads up, this option affects both fieldname and pattern. both of them. not one, both. 😌

default value is "on".

  • -e, --expression=STRING β€” the search expression. here's what you can use:

usable keyword:

  • & && β€” logical AND
  • | || β€” logical OR
  • ! β€” logical NOT
  • ( ) β€” parens
  • fieldname=pattern β€” search pattern for the field

special fieldname:

  • head β€” entire header
  • body β€” entire body
  • all β€” entire message

yes bestie, you can search the whole message with all. we love a thorough queen. πŸ”₯

  • -d, --delimiter=STRING β€” mail header delimiter.

default value is "\n\n|\n----\n". copy that exactly, don't freestyle it. ✨

  • -D, --dupchecktarget=STRING β€” duplicate check target. your options are 'none', 'message-id', or 'message-id+subject'. default value is 'none'.
  • -q, --quiet={on,off} β€” do not show any messages. shhh. 🀫
  • -v, --verbose={on,off} β€” print verbose messages when running. the opposite of quiet, she's a talker. πŸ’¬
  • --debug=DEBUG_OPTION β€” print debug messages when running. for when you need to know everything. πŸ›
  • -h, --help β€” display help message and exit. the classic.
  • --version β€” output version information and exit. 🌟

IM (Internet Message) is copyrighted by IM developing team. you can redistribute it and/or modify it under the modified BSD license. see the copyright file for more details. πŸ“œ


no cap, that license note is real and you should actually read the copyright file. it's giving responsible. πŸŽ€

and that's the whole page, bestie!! πŸ’– this one was from IM153, dated 2016-10-10 β€” an absolute classic, a vintage icon, and honestly? she still slays. bye ily πŸ¦‹βœ¨

πŸ“¦ where this page comes from