If so, what are the most popular encodings (in POSIX if that matters) and how do I detect them?
Prevent opening binary/other garbage files
helxi via Digitalmars-d-learn Sat, 29 Sep 2018 08:56:04 -0700
I'm writing a utility that checks for specific keyword(s) found
in the files in a given directory recursively. What's the best
strategy to avoid opening a bin file or some sort of garbage
dump? Check encoding of the given file?
- Prevent opening binary/other garbage... helxi via Digitalmars-d-learn
- Re: Prevent opening binary/othe... Adam D. Ruppe via Digitalmars-d-learn
- Re: Prevent opening binary/... helxi via Digitalmars-d-learn
- Re: Prevent opening bin... Adam D. Ruppe via Digitalmars-d-learn
- Re: Prevent opening... helxi via Digitalmars-d-learn
- Re: Prevent op... Adam D. Ruppe via Digitalmars-d-learn
- Re: Prevent opening binary/othe... bauss via Digitalmars-d-learn