Quote:
somehow this doesn't go into subdiretories and it doesn't ignore non-text files.
|
So this Somehow...
1) cat it a non recursive program...
2) cat doesn't distinguish between ascii and binary files. why should it?
you would want to possibly do a find on that directory (which IS recursive) and then use those results as the input to a for loop, which would include a 'test' command to check what kind of file it is.