I don't know clearly what your problem is. Grep has an option '--exclude' used to exclude files. Is it what you want?
On 10/31/06, DarkRick < [EMAIL PROTECTED]> wrote:
Hi... I'm new in grep world... I have a set of files, a.txt, b.txt, c.txt, but when I open one of those (suppose c.txt) it's damaged and it's content is full of 00 in hexadecimal format. I'm trying to list all files excluding the damaged one, but the only solution that I could find didn't work. Any ideas? I've tried this command first, "$ grep ^[1-9A-Za-z] *" but it shows files that has content... then, I tried with find, but it listed all the files.
