summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xde-sgm2
1 files changed, 1 insertions, 1 deletions
diff --git a/de-sgm b/de-sgm
index fa28301..5c3a5d5 100755
--- a/de-sgm
+++ b/de-sgm
@@ -1,4 +1,4 @@
#!/bin/sh
-grep -v -P "^[[:space:]]*(<\?xml.*\?>|</?(mteval|doc|srcset|refset)[^>]*>)[[:space:]]*$" | grep -v -P "^[[:space:]]*<(url|description|keywords|talkid|title)>.*</(url|description|keywords|talkid|title)>[[:space:]]*$" | sed "s|<seg[^>]*>\s*||" | sed "s|\s*</seg>$||"
+grep -v "^[[:space:]]*(<\?xml.*\?>|</?(mteval|doc|srcset|refset)[^>]*>)[[:space:]]*$" | grep -v "^[[:space:]]*<(url|description|keywords|talkid|title)>.*</(url|description|keywords|talkid|title)>[[:space:]]*$" | sed "s|<seg[^>]*>\s*||" | sed "s|\s*</seg>$||"