opérateur en ligne de bash
[ $(echo "one line"|wc -l) = '2' ] && echo "no"
[ $(echo "one line"|wc -l) = '1' ] && echo "yes"
Tiago F2
[ $(echo "one line"|wc -l) = '2' ] && echo "no"
[ $(echo "one line"|wc -l) = '1' ] && echo "yes"