grephistory doesn't behave as stated in its man-page
Felix E. Klee
felix.klee at inka.de
Tue Nov 16 00:09:55 UTC 2004
> > If messageid cannot be found in the database, the program
> > prints ``Not found'' and exits with a non-zero status.
> > But, that's not the case. The return value of grephistory *is zero*,
> > even if the message ID could *not* be found:
> > > grephistory '<not at there>'; echo $?
> > grephistory: not found
> It appears that it wasn't the article that wasn't found, it was your copy
> of grephistory.
No, what I wrote is correct. Some more examples:
[...]> grephistory '<1099685208.635007.16220 at ibm550>'; echo $?
[...]> grephistory '<not at there>'; echo $?
grephistory: not found
[...]> non_existing '<not at there>'; echo $?
-su: non_existing: command not found
Try it yourself.
More information about the inn-bugs