Re: No effect from -h option?

[email protected]
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
On Fri, 30 Aug 2002 09:09:03 -0400, Jason Rennie <[email protected]>
wrote:
 > [email protected] said:
 >> This isn't really consistent with my expectation, and in fact would
 >> seem to indicate that the parsing is quite different from what the
 >> documentation says. But maybe I misunderstand? 
 > -h removes all headers except for From:, To: and Subject:
 >   -h, --strip-header         Skip all of the header lines except Subject:,
 >                              From: and To:
 > So, it looks like ifile is doing the right thing.

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?

I can read what the documentation says and I can see what it's doing,
and the two don't match up ... or I misunderstand something.

Ahh, maybe I should try the -k option, too, or use less generic test
words in my tests :-/

 $ ifile -p -h <<HERE
 > Koe: kaniini
 > Metalanguage: finnish suomi
 > 
 > desding
 > HERE
 Reading message from standard input...
 (1,desding) 

 $ ifile -p <<HERE
 > Koe: kaniini
 > Metalanguage: finnish suomi
 > 
 > desding
 > HERE
 Reading message from standard input...
 (1,metalanguage) (1,finnish) (1,koe) (1,suomi) (1,kaniini) (1,desding) 

Maybe the documentation could be a bit more explicit about this?

Sorry for being daft; now returning you to your regularly scheduled
program.

It's still interesting to notice that +nothing+ in the headers made
any difference in the rather large test I did. (Or maybe I messed up
the test somehow.)

/* era */

obTranslation: "Guinea: pig", or literally "Test: rabbit"

-- 
 Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
Join the civilized world -- ban spam like we did: <http://www.euro.cauce.org/>
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.