summaryrefslogtreecommitdiffhomepage
path: root/scripts/last-of-design.sed
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/last-of-design.sed')
-rwxr-xr-xscripts/last-of-design.sed19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/last-of-design.sed b/scripts/last-of-design.sed
new file mode 100755
index 0000000..8e6c5a4
--- /dev/null
+++ b/scripts/last-of-design.sed
@@ -0,0 +1,19 @@
+#!/bin/sed -Enf
+
+/<trX>/! {
+ p
+ d
+}
+
+N
+
+/<tr class=new-design>|MARKER LOL/ {
+ s/<trX>/<tr class=last-of-design>/
+ s/MARKER LOL//
+ p
+ d
+}
+
+s/<trX>/<tr>/
+P
+D