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

« back to all changes in this revision

Viewing changes to ts/dbaclC

  • 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:
74
74
        ;;
75
75
    learn)
76
76
        shift
77
 
        $DBACL -h 17 -H 19 -l $@
 
77
        $DBACL -m -h 17 -H 19 -l $@
78
78
        ;;
79
79
    clean)
80
80
        shift
123
123
        shift
124
124
        CATS=`for f in "$@"; do echo -n "-c $f " ; done`
125
125
        cat > "$TEMPDIR/mailtoe.tmp"
126
 
        VERDICT=`cat $TEMPDIR/mailtoe.tmp | $DBACL -v $CATS`
 
126
        VERDICT=`cat $TEMPDIR/mailtoe.tmp | $DBACL -m -v $CATS`
127
127
        if [ "x$VERDICT" != "x`basename $TRUECAT`" ] ; then
128
128
            #cat "$TEMPDIR/mailtoe.tmp" >> $TRUECAT.toe
129
 
            #cat $TRUECAT.toe | $DBACL -h 17 -H 19 -l $TRUECAT
130
 
            cat "$TEMPDIR/mailtoe.tmp" | $DBACL -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
 
129
            #cat $TRUECAT.toe | $DBACL -m -h 17 -H 19 -l $TRUECAT
 
130
            cat "$TEMPDIR/mailtoe.tmp" | $DBACL -m -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
131
131
        fi
132
132
        echo -ne "$VERDICT"
133
133
        ;;
138
138
        shift
139
139
        CATS=`for f in "$@"; do echo -n "-c $f " ; done`
140
140
        cat > "$TEMPDIR/mailfoot.tmp"
141
 
        VERDICT=`cat "$TEMPDIR/mailfoot.tmp" | $DBACL -v $CATS`
142
 
        cat "$TEMPDIR/mailfoot.tmp" | $DBACL -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
 
141
        VERDICT=`cat "$TEMPDIR/mailfoot.tmp" | $DBACL -m -v $CATS`
 
142
        cat "$TEMPDIR/mailfoot.tmp" | $DBACL -m -h 17 -H 19 -l $TRUECAT -o $TRUECAT.onl
143
143
        #cat "$TEMPDIR/mailfoot.tmp" >> "$TRUECAT.foot"
144
 
        #cat "$TRUECAT.foot" | $DBACL -h 17 -H 19 -l $TRUECAT
 
144
        #cat "$TRUECAT.foot" | $DBACL -m -h 17 -H 19 -l $TRUECAT
145
145
 
146
146
        echo -ne "$VERDICT"
147
147
        ;;