From de9c6302b0d97cd42c1daea04e81be4418b641f4 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 6 Mar 2023 10:42:03 +0100 Subject: [PATCH] fix trailing \ --- what-s_installed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/what-s_installed.sh b/what-s_installed.sh index 53b38afa..2e66473f 100755 --- a/what-s_installed.sh +++ b/what-s_installed.sh @@ -5,7 +5,7 @@ PKGs=$(ls /var/adm/packages/ | sed 's|^\(.*\)-.*-.*-.*$|\1|') for cat in a ap d l lua n wayland xap y; do cd $cat for p in $(ls -1); do - echo $PKGs | grep -q "\ $(echo $p | tr -d /)\ " && echo -n "✓: " || echo -n "❌: " + echo $PKGs | grep -q " $(echo $p | tr -d /) " && echo -n "✓: " || echo -n "❌: " echo "$cat/$p" done | sort cd ..