Sometimes the silliest things drive me mad, too. Look at your filenames again, and then look at your code again. The filenames you want to print out have a '.data' extension, but you're grepping for files that end in '.txt'.
In reply to Re: print directory contents
by Not_a_Number
in thread print directory contents
by nasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |