reading contents of file
Hello all,
I am trying to figure out how to get bash to view for any contents in the "the_difference_between_today_and_yesterday.txt" file and then act if there is anything in the file. I thought i had it, but it is not working like I thought. Any ideas? Code:
if [ -f final_version_$dater.txt ]; |
I did not follow that script, but grep pattern should be definitely protected, so better to write: grep '^[a-z]*'
Would be nice to specify what do you mean by "it is not working"! What did you expect and also what happened? Do you have any error messages? |
All times are GMT -5. The time now is 06:11 AM. |