Patch for sm
Russ Allbery
rra at stanford.edu
Sat Dec 7 21:18:16 UTC 2002
Going through more very old patches.
Kjetil Torgrim Homme <kjetilho at ifi.uio.no> writes:
> (Has inn-patches been discontinued? It's not listed on the ISC web
> site.)
It's still there, but isn't on the web page.
> I've written a patch which adds the following options to sm(8):
> -f file
> The list of tokens is read from file. Each token
> should be on a separate line. The special filename
> ``-'' is taken to mean stdin. Only one -f option can
> be given. If any tokens are specified on the command
> line, those tokens will be processed first.
sm can take input from stdin in CURRENT, so I didn't add this part.
> -S A spool file in rnews format will be emitted on stdout.
> -H Only the headers will be printed. If -S is given, a
> one character fake body is included.
These two have been added to CURRENT, although I made -S incompatible with
-H, because the thought of someone loading such an rnews batch file and
ending up with a bunch of articles with the same message ID but mangled
bodies bothered me. Was there some reason why that combination in
particular was needed?
> (There are some small type fixes which touches unrelated files, too,
> char* -> const char* and int -> size_t -- I hate warnings :-)
Thanks, these have been committed to CURRENT as well.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list