From 53c3d328dbe9a56b54f6d7dc51491ecf92081fef Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 3 Feb 2020 15:23:47 +0000 Subject: de-sgm --- de-sgm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/de-sgm b/de-sgm index 0b9177d..452edfe 100755 --- a/de-sgm +++ b/de-sgm @@ -1,7 +1,10 @@ #!/bin/sh - egrep -v "^[[:space:]]*(<\?xml.*\?>|]*>)[[:space:]]*$" \ | egrep -v "^[[:space:]]*<(url|description|keywords|talkid|title|translator|reviewer)[^>]*>.*[[:space:]]*$" \ - | sed "s|]*>\s*||" | sed "s|\s*$||" | egrep -v "^[[:space:]]*

[[:space:]]*$|^[[:space:]]*

[[:space:]]*$" + | sed "s|]*>\s*||" \ + | sed "s|\s*\s*$||" \ + | egrep -v "^[[:space:]]*

[[:space:]]*$|^[[:space:]]*

[[:space:]]*$" \ + | sed "s|\s*||" \ + | sed "s|\s*\s*$||" -- cgit v1.2.3