Code: Select all
TOTAL=$(eix --compact -I | grep -c -i "^\[I\]"); UNSTABLE=$(eix --compact --installed-testing | grep -c -i "^\[I\]"); PERC=$(echo "($UNSTABLE/$TOTAL)*100" | bc -l); echo "Percentage unstable: $PERC"
Percentage unstable: 56.65399239543726235700






