rfcdiff-v1.41 | 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.41" | export version="1.42" | |||
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 294 | skipping to change at line 294 | |||
header(base1, base2) | header(base1, base2) | |||
difflines1 = 0 | difflines1 = 0 | |||
difflines2 = 0 | difflines2 = 0 | |||
} | } | |||
function header(file1, file2) { | function header(file1, file2) { | |||
url1 = file1; | url1 = file1; | |||
url2 = file2; | url2 = file2; | |||
if (optlinks) { | if (optlinks) { | |||
if (file1 ~ /^draft-/) { url1 = sprintf("<a href=\"/html/%s\" style=\"color: #008\">%s</a>", file1, file1); } | if (file1 ~ /^draft-/) { url1 = sprintf("<a href=\"https://tools.ietf.org/ht ml/%s\" style=\"color:#008\">%s</a>", file1, file1); } | |||
if (file1 ~ /^draft-/) { prev = sprintf("<a href=\"/rfcdiff?url2=%s\" style= \"color:#008; text-decoration:none;\"><</a>", file1); } | if (file1 ~ /^draft-/) { prev = sprintf("<a href=\"/rfcdiff?url2=%s\" style= \"color:#008; text-decoration:none;\"><</a>", file1); } | |||
if (file2 ~ /^draft-/) { url2 = sprintf("<a href=\"/html/%s\" style=\"color: #008\">%s</a>", file2, file2); } | if (file2 ~ /^draft-/) { url2 = sprintf("<a href=\"https://tools.ietf.org/ht ml/%s\" style=\"color:#008\">%s</a>", file2, file2); } | |||
if (file2 ~ /^draft-/) { nxt = sprintf("<a href=\"/rfcdiff?url1=%s\" style= \"color:#008; text-decoration:none;\">></a>", file2) } | if (file2 ~ /^draft-/) { nxt = sprintf("<a href=\"/rfcdiff?url1=%s\" style= \"color:#008; text-decoration:none;\">></a>", file2) } | |||
} | } | |||
printf "" \ | printf "" \ | |||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3. org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> \n" \ | "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3. org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> \n" \ | |||
"<!-- Generated by rfcdiff %s: rfcdiff %s --> \n" \ | "<!-- Generated by rfcdiff %s: rfcdiff %s --> \n" \ | |||
"<!-- <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional\" > -->\n" \ | "<!-- <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional\" > -->\n" \ | |||
"<!-- System: %s --> \n" \ | "<!-- System: %s --> \n" \ | |||
"<!-- Using awk: %s: %s --> \n" \ | "<!-- Using awk: %s: %s --> \n" \ | |||
"<!-- Using diff: %s: %s --> \n" \ | "<!-- Using diff: %s: %s --> \n" \ | |||
"<!-- Using wdiff: %s: %s --> \n" \ | "<!-- Using wdiff: %s: %s --> \n" \ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
This html diff was produced by rfcdiff 1.42. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |