Ignore:
Timestamp:
Aug 13, 2009, 5:19:37 AM (10 years ago)
Author:
julian.reschke@…
Message:

switch inclusion tool to use PI syntax, use if for IANA header registrations as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/refresh-inclusions.sh

    r679 r680  
    1010 
    1111  # start include
    12   /^<!-- BEGININC .* -->$/ {
     12  /^<\?BEGININC .* \?>$/ {
    1313    print
    14     includefile = $3
     14    includefile = $2
    1515    while (getline <includefile > 0) {
    1616      print
     
    1919 
    2020  # end include
    21   /^<!-- ENDINC .* -->$/ {
    22     if ($3 != includefile) {
    23       printf ("unexpected ENDINC, got %s but expected %s\n", $3, includefile) >> /dev/stderr
     21  /^<\?ENDINC .* \?>$/ {
     22    if ($2 != includefile) {
     23      printf ("unexpected ENDINC, got %s but expected %s\n", $2, includefile) >> /dev/stderr
    2424    }
    2525    includefile = "";
Note: See TracChangeset for help on using the changeset viewer.