summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/as/testscripts/doboth
blob: 6b46a03eb12574c39ba729108338f52e57c4614c (plain)
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/10/02 21:01:07 pk 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
OpenPOWER on IntegriCloud