config root man

Current Path : /usr/local/share/examples/bsfilter/mua/mew3/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/share/examples/bsfilter/mua/mew3/bs_mark

#! /bin/sh
## $Id: bs_mark,v 1.1 2004/02/28 15:24:09 nabeken Exp $

bsfilter=bsfilter
log=$HOME/.bsfilter/log
umask 077

mark_one () {
    $bsfilter -a --pipe --insert-flag --insert-probability < $target > $target.$$ 2>> $log

    if [ $? -eq  0 ]; then
	/usr/bin/touch -r $target $target.$$
	mv $target.$$ $target
    fi
}

while [ "$*" != "" ]; do
    target=$1
    if [ -r $target -a -f $target ]; then
	mark_one
    fi
    shift
done

Man Man