From 958cb01d544a3f6cbde26498d7299b52f8c0fca9 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 8 Nov 2017 15:16:51 +0100 Subject: de-sgm: use egrep instead of grep for compat. --- de-sgm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/de-sgm b/de-sgm index 5c3a5d5..ffab989 100755 --- a/de-sgm +++ b/de-sgm @@ -1,4 +1,7 @@ #!/bin/sh -grep -v "^[[:space:]]*(<\?xml.*\?>|]*>)[[:space:]]*$" | grep -v "^[[:space:]]*<(url|description|keywords|talkid|title)>.*[[:space:]]*$" | sed "s|]*>\s*||" | sed "s|\s*$||" + +egrep -v "^[[:space:]]*(<\?xml.*\?>|]*>)[[:space:]]*$" \ + | egrep -v "^[[:space:]]*<(url|description|keywords|talkid|title)>.*[[:space:]]*$" \ + | sed "s|]*>\s*||" | sed "s|\s*$||" -- cgit v1.2.3