Lines Matching refs:TEMPDIR
31 TEMPDIR=`mktemp -d /var/tmp/dir.XXXXXX`
32 if [ -z "$TEMPDIR" ]; then exit 1; fi
34 trap "rm -f -r $TEMPDIR;exit" 0 1 2 3 15
55 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
59 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
63 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
72 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
76 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
80 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
92 ($cmd "$D1"/"$a" "$D2"/"$a"; echo $? > $TEMPDIR/dc$$status) | \
93 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
94 if [[ `cat $TEMPDIR/dc$$status` != 0 ]]
137 find . -print | sort > $TEMPDIR/dc$$a
140 find . -print | sort > $TEMPDIR/dc$$b
141 comm $TEMPDIR/dc$$a $TEMPDIR/dc$$b | sed -n \
142 -e "/^ /w $TEMPDIR/dc$$c" \
143 -e "/^ [^ ]/w $TEMPDIR/dc$$d" \
144 -e "/^[^ ]/w $TEMPDIR/dc$$e"
145 rm -f $TEMPDIR/dc$$a $TEMPDIR/dc$$b
146 pr -w${width} -h "$D1 only and $D2 only" -m $TEMPDIR/dc$$e $TEMPDIR/dc$$d
147 rm -f $TEMPDIR/dc$$e $TEMPDIR/dc$$d
159 sed -e 's/..//' -e 's/\([^-a-zA-Z0-9/_.]\)/\\\1/g' < $TEMPDIR/dc$$c > $TEMPDIR/dc$$f
162 cat $TEMPDIR/dc$$f | xargs ls -lLgnd | \
163 sed -e '/^[bc]/ s/, *//' -e '/^l/ s/ -> .*//' > $TEMPDIR/dc$$i 2>/dev/null
168 cat $TEMPDIR/dc$$f | xargs ls -lLgnd | \
169 sed -e '/^[bc]/ s/, *//' -e '/^l/ s/ -> .*//' > $TEMPDIR/dc$$h 2>/dev/null
171 > $TEMPDIR/dc$$g
235 done 3<$TEMPDIR/dc$$h 4<$TEMPDIR/dc$$i | pr -r -h "Comparison of $D1 $D2"
237 then cat $TEMPDIR/dc$$g