fix trailing \

This commit is contained in:
Gwenhael Le Moine 2023-03-06 10:42:03 +01:00
parent eb1af6b3cc
commit de9c6302b0
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -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 ..