Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Bash] Check if file is binary or text?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
Amber
Posts: 70
Joined: 2007-02-22 06:03

#16 Post by Amber »

The unzip command has an option to perform text conversion while extracting. You can study its source code to see if its method of determining ASCII vs. binary is useful to you.

thamarok

#17 Post by thamarok »

Amber wrote:The unzip command has an option to perform text conversion while extracting. You can study its source code to see if its method of determining ASCII vs. binary is useful to you.
Thanks for pointing that out!

Post Reply