Chuck Campbell <campbell(_at_)Starbase(_dot_)NeoSoft(_dot_)COM> writes:
I have a problem with the following recipe. It creates a mail folder with
the name "formail -a Status: O"
the actual file name is exactly what is in quotes, spaces and all.
This is clearly not my desired intention. What have I done wrong here?
|formail -a "Status: O" ;/dev/null
Not only is it clearly not your intention, but it is not clear what
your intention is. Do you want any messages with subscribe in the
header to simply have their "Status:" header changed to contain "O"?
If so, you left off the 'f' and 'h' flags:
|formail -a "Status: O"
You may want to use the '-I' flag instead of the '-a' flag, as you
probably want to replace any Status: line that exists.
On the other hand, perhaps you meant to discard the messages completely:
(The 'h' flag here is a performance tweak.)