rfcdiff-v1.40   rfcdiff 
skipping to change at line 105 skipping to change at line 105
# generating the diff, to produce a cleaner diff. # generating the diff, to produce a cleaner diff.
# #
# It is called as # It is called as
# #
# rfcdiff first-file second-file # rfcdiff first-file second-file
# #
# The latest version is available from # The latest version is available from
# http://tools.ietf.org/tools/rfcdiff/ # http://tools.ietf.org/tools/rfcdiff/
# #
export version="1.40" export version="1.41"
export progdate="" export progdate=""
export prelines="10" export prelines="10"
export basename=$(basename $0) export basename=$(basename $0)
export workdir="/tmp/$basename-$$" export workdir="/tmp/$basename-$$"
export pagecache1="$workdir/pagecache1" export pagecache1="$workdir/pagecache1"
export pagecache2="$workdir/pagecache2" export pagecache2="$workdir/pagecache2"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Utility to find an executable # Utility to find an executable
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
skipping to change at line 971 skipping to change at line 971
awkbin=$AWK awkbin=$AWK
export awkbin export awkbin
awkver=$( { $AWK --version 2>/dev/null || $AWK -V 2>/dev/null; } | head -n 1) awkver=$( { $AWK --version 2>/dev/null || $AWK -V 2>/dev/null; } | head -n 1)
export awkver export awkver
diffbin=$(lookfor diff) diffbin=$(lookfor diff)
export diffbin export diffbin
diffver=$(diff --version | head -n 1) diffver=$(diff --version | head -n 1)
export diffver export diffver
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Check that we don't have a broken awk
# ----------------------------------------------------------------------
if [ $opthtml -gt 0 -a "${uname%% *}" == "Darwin" -a "$awkver" == "awk version 200
70501" ]; then
echo -e "\n Oops. Awk version 20070501 on OS X doesn't work with rfcdiff's
html mode.\n To make rfcdiff work, you could install Gnu Awk (gawk), for instance
using\n MacPorts, http://www.macports.org/."
exit 1
fi
# ----------------------------------------------------------------------
# Do diff # Do diff
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
origdir=$PWD origdir=$PWD
cd $workdir cd $workdir
if cmp 1/"$base1" 2/"$base2" >/dev/null; then if cmp 1/"$base1" 2/"$base2" >/dev/null; then
echo "" echo ""
echo "The files are identical." echo "The files are identical."
fi fi
 End of changes. 2 change blocks. 
1 lines changed or deleted 12 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/