[X2Go-Commits] [x2goserver] 13/17: x2goserver/bin/x2gofeaturelist: replace historical "egrep" with "grep -E".

git-admin at x2go.org git-admin at x2go.org
Fri Nov 16 03:47:05 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goserver.

commit 3a99607e550b4a92371bef402983a4d6283cc2ac
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Nov 16 03:28:54 2018 +0100

    x2goserver/bin/x2gofeaturelist: replace historical "egrep" with "grep -E".
---
 debian/changelog               | 2 ++
 x2goserver/bin/x2gofeaturelist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3e5f45f..76c1305 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -63,6 +63,8 @@ x2goserver (4.1.0.3-0x2go1) UNRELEASED; urgency=medium
       exit codes.
     - x2goserver-extensions/bin/x2goserver-run-extensions: more curly braces,
       quotes etc.
+    - x2goserver/bin/x2gofeaturelist: replace historical "egrep" with "grep
+      -E".
   * x2goserver.spec:
     + Pull in openSUSE-release manually on OpenSuSE Tumbleweed to work around
       a bug.
diff --git a/x2goserver/bin/x2gofeaturelist b/x2goserver/bin/x2gofeaturelist
index b3d3add..259ad46 100755
--- a/x2goserver/bin/x2gofeaturelist
+++ b/x2goserver/bin/x2gofeaturelist
@@ -26,6 +26,6 @@ X2GO_SHARE_PATH="$(x2gopath share)";
 # run x2gofeature scripts of X2Go extensions
 test -d "$X2GO_SHARE_PATH/x2gofeature.d" && {
     for subscript in "$X2GO_SHARE_PATH/x2gofeature.d/"*.features; do
-        cat "$subscript" | egrep ".*\).*ok.*exit 0.*" | cut -d"\"" -f2 | cut -d"\"" -f1
+        cat "$subscript" | grep -E ".*\).*ok.*exit 0.*" | cut -d"\"" -f2 | cut -d"\"" -f1
     done
 }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list