Bash Inline -Operator
[ $(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"