/usr/share/doc/ifile/examples/ifile.procmail-0.2/bin/ifile.unlearn.message is in ifile 1.3.9-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/bash
# Public domain (C) 2001 Martin Macok <martin.macok@underground.cz>
if [ "$#" -lt "1" -o "x$1" == "x--help" ] ; then
echo "Usage: $0 category"
echo "Undo learn statistics about message from category."
echo "Message expected on stdin"
exit 1
fi
OLDCAT="$1"
if ! expr "x${OLDCAT}" : "x[-a-zA-Z0-9_@#]*$" >/dev/null ; then
echo "ERR: Illegal characters in category name." >&2
exit 1
fi
ifile -h -d "$OLDCAT"
|