summaryrefslogtreecommitdiff
path: root/de-sgm
diff options
context:
space:
mode:
Diffstat (limited to 'de-sgm')
-rwxr-xr-xde-sgm4
1 files changed, 2 insertions, 2 deletions
diff --git a/de-sgm b/de-sgm
index ffab989..664c18c 100755
--- a/de-sgm
+++ b/de-sgm
@@ -1,7 +1,7 @@
#!/bin/sh
-egrep -v "^[[:space:]]*(<\?xml.*\?>|</?(mteval|doc|srcset|refset)[^>]*>)[[:space:]]*$" \
- | egrep -v "^[[:space:]]*<(url|description|keywords|talkid|title)>.*</(url|description|keywords|talkid|title)>[[:space:]]*$" \
+egrep -v "^[[:space:]]*(<\?xml.*\?>|</?(mteval|doc|srcset|refset|translator|reviewer)[^>]*>)[[:space:]]*$" \
+ | egrep -v "^[[:space:]]*<(url|description|keywords|talkid|title|translator|reviewer)[^>]*>.*</(url|description|keywords|talkid|title|translator|reviewer)>[[:space:]]*$" \
| sed "s|<seg[^>]*>\s*||" | sed "s|\s*</seg>$||"