The R Project SVN R

Rev

Rev 1643 | Rev 2531 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1643 Rev 2066
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# Diff  ``without R version''
2
# Diff  ``without R version''
3
f1=$1
3
f1=$1
4
f2=$2
4
f2=$2
-
 
5
#$perlne="'print if /^Version|^Number of.*:/'"
-
 
6
#perl -ne "$perlne" $f1 ....
5
grep -v '^Version' $f1 > /tmp/${f1}-d
7
egrepv='(^Version|^Number of.*:)'
6
grep -v '^Version' $f2 > /tmp/${f2}-d
8
egrep -v "$egrepv" $f1 > /tmp/${f1}-d
7
diff -bw /tmp/${f1}-d /tmp/${f2}-d
9
egrep -v "$egrepv" $f2 | diff -bw /tmp/${f1}-d -