Je me sens un peu bête en ce moment :
Pourquoi mon contionnel est toujours vrai ?
J'ai essayé
# this should let me know what's not a directory or
# symbolic link.
whoa=`find ${MUSICDIR} ! -type l ! -type d | wc -l`
# I would expect if it's 0 (meaning nothing was found) that
# one of these statements would evaluate to false, but so far
# it's always evaluating to true
if [[ "${whoa}" != "0" ]]
do something
fi
if [[ ${whoa} -gt 0 ]]
do something
fi
Qu'est-ce que je rate ?