From 98b70d5716056e4c26754d59e38648278187223f Mon Sep 17 00:00:00 2001 From: neingeist Date: Fri, 11 Oct 2024 16:50:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20saubermann:=20use=20grep?= =?UTF-8?q?=20-E=20instead=20of=20egrep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- saubermann | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/saubermann b/saubermann index cfddc01..4dfdb6e 100755 --- a/saubermann +++ b/saubermann @@ -13,7 +13,7 @@ is_fedora() { echo "== Dangling symlinks in /etc" -find /etc -type l -and -xtype l | egrep -v 'blkid.tab|/var/log/dropbear|/etc/sv/ssh' +find /etc -type l -and -xtype l | grep -Ev 'blkid.tab|/var/log/dropbear|/etc/sv/ssh' echo "== Trashes" for t in /home/*/.local/share/Trash; do @@ -26,10 +26,10 @@ if is_debian; then # check for things not installed via dpkg/apt and other junk echo "== Packages not in installed state" - dpkg -l | egrep -v "^(ii|Desired|\||\+)" + dpkg -l | grep -Ev "^(ii|Desired|\||\+)" echo "== Orphan packages" - deborphan | egrep -v 'libc6-i686|lib.*-ruby$|opensync|gstreamer0.10-plugins.*|libtime-modules-perl|vpim|gnome-session-fallback|.*-globalmenu|gcalctool|clive|unity-scope' + deborphan | grep -Ev 'libc6-i686|lib.*-ruby$|opensync|gstreamer0.10-plugins.*|libtime-modules-perl|vpim|gnome-session-fallback|.*-globalmenu|gcalctool|clive|unity-scope' echo "== *.dpkg in /etc" find /etc -name "*.dpkg-*" -or -name "*.ucf-*"