mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
207 B

#!/bin/bash
if [ ! -f "$1" -o ! -f "$2" ]; then
echo "Usage: $0 {logfile1} {logfile2}"
exit 1
fi
sedprg='s/(src\.[^\/\.]+)\.[0-9\.]+/\1.XXX/g'
diff -u <( sed -r "$sedprg" $1; ) <( sed -r "$sedprg" $2; )