summaryrefslogtreecommitdiff
path: root/de-sgm
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-08-04 12:47:32 +0200
committerPatrick Simianer <p@simianer.de>2017-08-04 12:47:32 +0200
commitce63407606ba3ebd99c58bb137bdc7f8447cff2d (patch)
tree2b21605c2e0c7b8c99e93cfe7da29e5d9e3a1ccc /de-sgm
parentaaa6be0e31ffd77f5a524c370746dd615272c87a (diff)
de-sgm: fix
Diffstat (limited to 'de-sgm')
-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>$||"