# # save error codes from ZoneEdit from being removed as html tags # s/\ # # this line will be appended once at the end in order to close the table: # $ a\ # # these lines do the transformation from ascii log-file into html format: # 1! { /^# DynDNS-Provider:/i\ \  } /^# DynDNS-Provider:/ { s%^[^:]*: \(.*\)% DYNDNS_general_info\ DYNDNS_provider: \1% } s%^# DynDNS-Begin: \(.*\)% DYNDNS_begin: \1% s%^# DynDNS-End: \(.*\)% DYNDNS_end: \1% /^# DynDNS-Result:/ { s%^[^:]*: \(.*\)% DYNDNS_result: \1% } /^# DynDNS-Method:/ { s%^[^:]*: \(.*\)% DYNDNS_attempt \1% } /^# DynDNS-Date:/ { s%^[^:]*: \(.*\)% DYNDNS_date: \1% } /^# DynDNS-Cancel:/ { s%^[^:]*: \(.*\)% DYNDNS_canceled \1% } /^# DynDNS-Enable:/ { s%^[^:]*: \(.*\)% DYNDNS_enabled \1% } /^# DynDNS-Report:/ { s%^[^:]*: \(.*\)% DYNDNS_report \1)% } /^----- start error.*/ { c\ \ \

DYNDNS_error:

\
}

/^----- start answer.*/ {
c\      \
        \
          

DYNDNS_reply:

\
}

/^------ end[^-]*/ {
c\          
\ \ } s%^# DynDNS-Comment: None%% s%^# DynDNS-Comment: \(.*\)% DYNDNS_comment:\1%