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

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