Perdón, sería con grep -q: #!/bin/sh hoy=`date +%Y-%-%d` if grep -q $hoy tabla.txt; then echo Hoy toca fi