rfcdiff-v1.47   rfcdiff 
skipping to change at line 61 skipping to change at line 61
# table of contents) and postamble (Intellectual # table of contents) and postamble (Intellectual
# Property Statement, Disclaimer etc) # Property Statement, Disclaimer etc)
# #
# --nostrip Don't strip headers and footers (or body) # --nostrip Don't strip headers and footers (or body)
# #
# --ab-diff Before/After diff, suitable for rfc-editor # --ab-diff Before/After diff, suitable for rfc-editor
# --abdiff # --abdiff
# #
# --stdout Send output to stdout instead to a file # --stdout Send output to stdout instead to a file
# #
# --context LINES Provide a different number of lines of context,
# by default 10
# #
# Copyright: # Copyright:
# ----------------------------------------------------------------- # -----------------------------------------------------------------
# #
# Copyright 2002 Henrik Levkowetz # Copyright 2002 Henrik Levkowetz
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. # (at your option) any later version.
skipping to change at line 105 skipping to change at line 107
# 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.47" export version="1.48"
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 809 skipping to change at line 811
--ab-diff)opthtml=0; optdiff=0; optchbars=0; optwdiff=0; opthwdiff=0; optabd iff=1;; --ab-diff)opthtml=0; optdiff=0; optchbars=0; optwdiff=0; opthwdiff=0; optabd iff=1;;
--rfc-editor-diff)opthtml=0; optdiff=0; optchbars=0; optwdiff=0; opthwdiff=0 ; optabdiff=1;; --rfc-editor-diff)opthtml=0; optdiff=0; optchbars=0; optwdiff=0; opthwdiff=0 ; optabdiff=1;;
--version)echo -e "$basename\t$version\t$progdate"; exit 0;; --version)echo -e "$basename\t$version\t$progdate"; exit 0;;
--browse) optshow=1;; --browse) optshow=1;;
--nowdiff)optnowdiff=1;; --nowdiff)optnowdiff=1;;
--keep) optkeep=1;; --keep) optkeep=1;;
--info) optinfo=1; keyword=$2; shift;; --info) optinfo=1; keyword=$2; shift;;
--help) optinfo=1; keyword="Usage";; --help) optinfo=1; keyword="Usage";;
--fold) optfold=$2; shift;; --fold) optfold=$2; shift;;
--width) optwidth=$2; shift;; --width) optwidth=$2; shift;;
--context)prelines=$2; shift;;
--full) prelines=999999;;
--oldcolor) optoldcolour=$2; shift;; --oldcolor) optoldcolour=$2; shift;;
--oldcolour) optoldcolour=$2; shift;; --oldcolour) optoldcolour=$2; shift;;
--newcolor) optnewcolour=$2; shift;; --newcolor) optnewcolour=$2; shift;;
--newcolour) optnewcolour=$2; shift;; --newcolour) optnewcolour=$2; shift;;
--larger) optlarger='size="+1"';; --larger) optlarger='size="+1"';;
--linenum)optnums=1;; --linenum)optnums=1;;
--body) optbody=1;; --body) optbody=1;;
--nostrip)optstrip=0; optbody=0;; --nostrip)optstrip=0; optbody=0;;
--stdout) optstdout=1;; --stdout) optstdout=1;;
--links) optlinks=1;; --links) optlinks=1;;
skipping to change at line 1053 skipping to change at line 1057
new_str = format_chunk(index); new_str = format_chunk(index);
new_chunk = find_chunk(new_str); new_chunk = find_chunk(new_str);
if (!new_chunk) { if (!new_chunk) {
return; return;
} }
if (old_chunk) { if (old_chunk) {
old_chunk.style.outline = ""; old_chunk.style.outline = "";
} }
old_chunk = new_chunk; old_chunk = new_chunk;
old_chunk.style.outline = "1px solid red"; old_chunk.style.outline = "1px solid red";
window.location.replace("#" + new_str) window.location.hash = "#" + new_str;
window.scrollBy(0,-100); window.scrollBy(0,-100);
chunk_index = index; chunk_index = index;
} }
document.onkeydown = function(e) { document.onkeydown = function(e) {
switch (e.keyCode) { switch (e.keyCode) {
case 78: case 78:
change_chunk(1); change_chunk(1);
break; break;
case 80: case 80:
 End of changes. 4 change blocks. 
2 lines changed or deleted 6 lines changed or added

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