in reply to Re^5: Finding a Letter at Last line
in thread Finding a Letter at Last line

you can do this too... but you dont need use the ls insight of for...
for file in *.txt do perl -e 'open FILE, "<'$file'"; $_ = join "", <FILE>; print "true" +if /^t[^\n]*\Z/msi' done

Replies are listed 'Best First'.
Re^7: Finding a Letter at Last line
by mantra2006 (Hermit) on Nov 08, 2006 at 17:51 UTC
    Hi smokemachine
    excellent...thanks many..you saved my day...thanks again for the quick help
    Thanks & Regards
    Sridhar