Formail: what is the +skip option for and why?
procmail at rowyerboat.com
Sat Sep 30 06:44:09 CEST 2006
David W. Tamkin wrote:
> Seee the formail(1) man page. With -s, +# means to skip the first #
> split-out messages and omit them from the output.
I saw the option in the man page, but I don't know what a 'split-out'
message is... until I read below.
> 1. What formail sees as the first split-out message in the file is
> something that doesn't have a From_ postmark (though wouldn't the
> absence of -f add one?), or
The From_ postmark being the envelope information? So Formail can cope
with that information not being there and still be able to distinguish
> 2. a 127th message was added to the file between the two attempts.
It's possible, but I did the commands in quick succession - perhaps not
> formail -1s < $HOME/mail/junk
From MAILER-DAEMON Sat Sep 30 02:39:24 2006
X-Original-To: bezelantisemitism at mydomain.com
Delivered-To: sda at mydomain.net
So, if I understand correctly, for the purpose of simply counting the
number of messages in a particular folder, I don't need the split-out
More information about the procmail