freebsd-dev/gnu/usr.bin/as/testscripts/doboth

21 lines
229 B
Bash
Executable File

#!/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