perl -e 'for $file(@ARGV){open FILE, "<$file"; $_ = join "", ; print "true" if /^t[^\n]*\Z/msi;close FILE}' *.txt