Patch for sm
Kjetil Torgrim Homme
kjetilho at ifi.uio.no
Wed Apr 25 03:07:06 UTC 2001
(Has inn-patches been discontinued? It's not listed on the ISC web
site.)
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.
-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.
This is useful for transferring the spool between systems or for
storing it on tape.
(There are some small type fixes which touches unrelated files, too,
char* -> const char* and int -> size_t -- I hate warnings :-)
The patch is relative to STABLE-20010424
http://www.ifi.uio.no/~kjetilho/hacks/sm-1.16.patch
Thank you for your time.
Kjetil T.
More information about the inn-workers
mailing list