summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2024-01-11 10:31:22 +0000
committerPatrick Simianer <patrick@lilt.com>2024-01-11 10:31:22 +0000
commit5311d7fe0c60e573c4109ddc874509d80f2d00b4 (patch)
tree52c8c54b7a6956d118efe61d4423ca77d3549cf6
parentbd723335cb82e8609d0e591945337ab5942b3d23 (diff)
de-sgm: fix
-rwxr-xr-xde-sgm3
1 files changed, 1 insertions, 2 deletions
diff --git a/de-sgm b/de-sgm
index 408d090..3b3a8e0 100755
--- a/de-sgm
+++ b/de-sgm
@@ -8,6 +8,5 @@ egrep -v -i "^[[:space:]]*(<\?xml.*\?>|</?(mteval|doc|srcset|refset|translator|r
| sed "s|<speaker>\s*||" \
| sed "s|\s*</speaker>\s*$||" \
| sed "s|\s*<hl>\s*$||" \
- | sed "s|\s*</hl>\s*$||" \
- | egrep -v -P "^\s*$"
+ | sed "s|\s*</hl>\s*$||"