Previous: Profile Variable Diffs, Up: Diffs


2.16.1.3 Differences in MH Program Behavior
burst
The utility is able to burst both RFC 934 digest messages and MIME multipart messages. It provides two additional command line options: --recurse and --length.

The --recurse option instructs the utility to recursively expand the digest.

The --length option can be used to set the minimal encapsulation boundary length for RFC 934 digests. Default length is 1, i.e. encountering one dash immediately following a newline triggers digest decoding. It is OK for messages that follow RFC 934 specification. However, many user agents do not precisely follow it, in particular, they often do not escape lines starting with a dash by ‘- ’ sequence. Mailman is one of such agents. To cope with such digests you can set encapsulation boundary length to a higher value. For example, bounce --length=8 has been found to be sufficient for most Mailman-generated digests.

comp
Understands --build option.
fmtdump
This command is not provided. Use fmtcheck instead.
mhl
If the argument to ignores contains more than one component name it must be enclosed in double-quotes. Dangling equal sign is an error, to set a string variable to the empty value assign it an empty string, e.g.: overflowtext="" (see the supplied mhl.format file).

Ineractive prompting is not yet implemented.

mhn

mhparam
The --all mode does not display commented out entries.
repl
Understands --use option. Disposition shell provides use command.
rmm
  1. Different behaviour if one of the messages in the list does not exist:

    Mailutils rmm does not delete any messages. Standard rmm in this case deletes all messages preceeding the non-existent one.

  2. The rmmproc profile component is not used.

pick
The non-standard command line syntax --field string), where field is any string, is deprecated. It is recognized only if pick is called from within another program, so that existing application continue to work. Please use the following syntax instead:
          pick --component field --pattern string
     

New command line option --cflags allows to control the type of regular expressions used. The option must occur right before --pattern or --component option (or one of its aliases, like --cc, --from, etc.)

The argument to this option is a string of type specifications:

B Use basic regular expressions
E Use extended regular expressions
I Ignore case
C Case sensitive

Default is ‘EI’.

The flags remain in effect until the next occurrence of --cflags option.

Sample usage:

          pick --cflag BC --subject '*a string'
     

The date comparison options (--before and --after accept date specifications in a wide variety of formats, e.g.:

          pick --after 20030301
          pick --after 2003-03-01
          pick --after 01-mar-2003
          pick --after 2003-mar-01
          pick --before '1 year ago'
          etc...
     

refile
  1. Linking messages between folders goes against the logic of Mailutils, so refile never makes links even if called with --link option. The latter is actually a synonym for --copy, which preserves the original message.
  2. The --preserve option is not implemented. It is retained for backward compatibility only.
  3. Message specs and folder names may be interspersed.

sortm
New option --numfield specifies numeric comparison for the given field.

Any number of --datefield, --textfield and --numfield options may be given, thus allowing to build sort criteria of arbitrary complexity.

The order of --.*field options sets the ordering priority. This differs from the behaviour of the standard sortm, which always orders datefield-major, textfield-minor.

Apart from sorting the mailfolder the following actions may be specified:

--list
List the ordered messages using a format string given by --form or --format option.
--dry-run
Do not actually sort messages, rather print what would have been done. This is useful for debugging purposes.