[Bash] Check if file is binary or text?

Need help with C, C++, perl, python, etc?

Postby Amber » 2007-03-23 03:49

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.
Amber
 
Posts: 70
Joined: 2007-02-22 06:03

Postby thamarok » 2007-03-23 13:46

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!
thamarok
 

Previous

Return to Programming

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable