logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

imgrep - search for mail/news messages

Description

       The imgrep command enumerates mail/news messages matched given patterns.

       This command is provided by IM (Internet Message).

Name

       imgrep - search for mail/news messages

Options

-s,--src=FOLDER,FOLDER...
            message source: "+folder:[range[,range..]]".

            "--src=+xxx" is equivalent to "+xxx".

       -f,--format=STRING
            Output format: "number", "folder", or "path".

            (default: "number" for single target folder, "path" for multiple target folders)

       -c,--casefold={on,off}
            Case sensitivity.  (This option affects both fieldname and pattern.)

            Default value is "on".

       -e,--expression=STRING
            Search expression:

            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

       -d,--delimiter=STRING
            Mail header delimiter.

            Default value is "\n\n|\n----\n".

       -D,--dupchecktarget=STRING
            Duplicate check target ('none', 'message-id', or 'message-id+subject').  Default value is 'none'.

       -q,--quiet={on,off}
            Do not show any messages.

       -v,--verbose={on,off}
            Print verbose messages when running.

       --debug=DEBUG_OPTION
            Print debug messages when running.

       -h,--help
            Display help message and exit.

       --version
            Output version information and exit.

Synopsis

imgrep [OPTIONS] [FOLDER] [RANGE]

See Also