~ubuntu-branches/ubuntu/hardy/dbacl/hardy

« back to all changes in this revision

Viewing changes to ts/dbaclL

  • Committer: Bazaar Package Importer
  • Author(s): Zak B. Elep
  • Date: 2006-03-26 22:35:35 UTC
  • mto: (2.1.1 etch) (1.1.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060326223535-icwiulpkzesds4mq
ImportĀ upstreamĀ versionĀ 1.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
    learn)
77
77
        shift
78
 
        $DBACL -h 17 -H 19 -l $@
 
78
        $DBACL -m -h 17 -H 19 -l $@
79
79
        ;;
80
80
 
81
81
    clean)
114
114
        shift
115
115
        CATS=`for f in "$@"; do echo -n "-c $f " ; done`
116
116
        cat > "$TEMPDIR/mailtoe.tmp"
117
 
        VERDICT=`cat $TEMPDIR/mailtoe.tmp | $DBACL -v $CATS`
 
117
        VERDICT=`cat $TEMPDIR/mailtoe.tmp | $DBACL -m -v $CATS`
118
118
        if [ "x$VERDICT" != "x`basename $TRUECAT`" ] ; then
119
119
            #cat "$TEMPDIR/mailtoe.tmp" >> $TRUECAT.toe
120
 
            #cat $TRUECAT.toe | $DBACL -h 17 -H 19 -l $TRUECAT
121
 
            cat "$TEMPDIR/mailtoe.tmp" | $DBACL -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
 
120
            #cat $TRUECAT.toe | $DBACL -m -h 17 -H 19 -l $TRUECAT
 
121
            cat "$TEMPDIR/mailtoe.tmp" | $DBACL -m -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
122
122
        fi
123
123
        echo -ne "$VERDICT"
124
124
        ;;
129
129
        shift
130
130
        CATS=`for f in "$@"; do echo -n "-c $f " ; done`
131
131
        cat > "$TEMPDIR/mailfoot.tmp"
132
 
        VERDICT=`cat "$TEMPDIR/mailfoot.tmp" | $DBACL -v $CATS`
133
 
        cat "$TEMPDIR/mailfoot.tmp" | $DBACL -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
 
132
        VERDICT=`cat "$TEMPDIR/mailfoot.tmp" | $DBACL -m -v $CATS`
 
133
        cat "$TEMPDIR/mailfoot.tmp" | $DBACL -m -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
134
134
        #cat "$TEMPDIR/mailfoot.tmp" >> "$TRUECAT.foot"
135
 
        #cat "$TRUECAT.foot" | $DBACL -h 17 -H 19 -l $TRUECAT
 
135
        #cat "$TRUECAT.foot" | $DBACL -m -h 17 -H 19 -l $TRUECAT
136
136
        echo -ne "$VERDICT"
137
137
        ;;
138
138