fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]fetchmail can't count

2002-06-26 03:52:29
John Summerfield <summer(_at_)os2(_dot_)ami(_dot_)com(_dot_)au> writes:

I had a syntax error in .fetchmailrc. The diagnostic messages was "syntax 
error 
in line 15."

Line 15 was a comment. The line with the error was the fifteenth line when I 
ran 
this command:
egrep -v '^#' .fetchmailrc | cat -n

Fetchmail should count lines before dropping comments (and blank lines).

Euhm, my fetchmail DOES count comments:

$ head -2 .fetchmailrc
# some comment
erroneousstatement
$ fetchmail
fetchmail:/home/ma/.fetchmailrc:2: parse error at erroneousstatement

But fetchmail does not have a message like "syntax error in line", I
grepped for this string in vain.

Are you using the current version?

-- 
Matthias Andree


<Prev in Thread] Current Thread [Next in Thread>