Re: No effect from -h option?

Jason Rennie <[email protected]>
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
[email protected] said:
> But what happened to the contents of the To: and From: fields? And why
> was the contents of the Subject: field included when I ran without -h?

Sorry, I just glanced over your example and didn't notice that "me" and 
"you" were missing.  I think I know what's happening.  Let me see if I 
can explain.

So, when you use -h, ifile preserves the contents of the From, To and
Subject fields, but does not preserve the strings "From:", "To:" and
"Subject:" (which is consistent with the fact that you see "subject" when 
you don't use -h, but you don't see "subject" when you use -h).

The reason that "from", "to", "me" and "you" are disappearing is that they
are entries in the stop list that ifile uses (see stopwords.c).  I think 
your first example would work as expected if you added the -s option to 
turn off stoplist processing.

It looks like your "desding" example works as expected.  Do you agree?  
If not, we should change the documentation.

Hope this helps.

Jason D. M. Rennie
MIT AI Lab
[email protected]
(617) 253-5339
http://www.ai.mit.edu/~jrennie/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.