#!/bin/bash OUT=`toot followers $1 | grep $2 | awk -F' ' '{print $2}'` #echo $OUT if [ -z $OUT ]; then echo "no"; else echo "yes"; fi