blob: 5eefa8f92ad5ebe5426b2077ac3b8028b8e1b856 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# $OpenBSD: doboth,v 1.2 1998/02/15 18:50:11 niklas Exp $
x=$1 ; shift
y=$1 ; shift
rm tmp.0 > /dev/null 2>&1
ln -s $x tmp.0
$* tmp.0 > tmp.1
rm tmp.0
ln -s $y tmp.0
$* tmp.0 > tmp.2
rm tmp.0
diff -c tmp.1 tmp.2
exit
#eof
|