aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/as/testscripts/doboth
blob: dc379e93d3fbb0bd6a091fd11bbeb5e1d088a47b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# $Id: doboth,v 1.1 1993/11/03 00:56:17 paul 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