IMGREP(1p)
π 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( )β parensfieldname=patternβ search pattern for the field
special fieldname:
headβ entire headerbodyβ entire bodyallβ 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. π
π COPYRIGHT π
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
- debian bookworm: im 1:153-4 Β· BSD-3-Clause
- debian trixie: im 1:153-4 Β· BSD-3-Clause
- ubuntu jammy: im 1:153-4 Β· BSD-3-Clause
- ubuntu noble: im 1:153-4 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms