diff options
Diffstat (limited to 'de-sgm')
-rwxr-xr-x | de-sgm | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,10 @@ #!/bin/sh - 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>$||" | egrep -v "^[[:space:]]*<p>[[:space:]]*$|^[[:space:]]*</p>[[:space:]]*$" + | sed "s|<seg[^>]*>\s*||" \ + | sed "s|\s*</seg>\s*$||" \ + | egrep -v "^[[:space:]]*<p>[[:space:]]*$|^[[:space:]]*</p>[[:space:]]*$" \ + | sed "s|<speaker>\s*||" \ + | sed "s|\s*</speaker>\s*$||" |