diff options
-rwxr-xr-x | de-sgm | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ #!/bin/sh -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>$||" + +egrep -v "^[[:space:]]*(<\?xml.*\?>|</?(mteval|doc|srcset|refset)[^>]*>)[[:space:]]*$" \ + | egrep -v "^[[:space:]]*<(url|description|keywords|talkid|title)>.*</(url|description|keywords|talkid|title)>[[:space:]]*$" \ + | sed "s|<seg[^>]*>\s*||" | sed "s|\s*</seg>$||" |