/
Turnin program says my file is binary when its not
Turnin program says my file is binary when its not
Problem
The turnin program is saying that a file is binary and not letting him turn it in.The file is not binary and the "file" command verifies that. What is happening?
Solution
The turnin program looks at the content of the file to determine its type. Program files that are created on Windows machines can confuse turnin. Removing (the sometimes hidden) extra characters that Windows adds to files will fix this problem. To do so, run the "dos2unix" command installed on all linux machines like this: dos2unix [[name_of_your_file]].
For example, if you want to run dos2unix on a file called Main.cpp, please type:
dos2unix Main.cpp
Related articles
, multiple selections available,
Related content
How do I use the turnin program to turn in my assignment?
How do I use the turnin program to turn in my assignment?
More like this
Some of my Mac files are giving an error that the file maybe damaged or locked, even though I own the document and can open it.
Some of my Mac files are giving an error that the file maybe damaged or locked, even though I own the document and can open it.
More like this
Can't open PDFs
Can't open PDFs
More like this
Mathematica licensing/activation problems?
Mathematica licensing/activation problems?
More like this
How to use compress files on Linux
How to use compress files on Linux
More like this
Why can't I get a MATLAB license when using the campus VPN?
Why can't I get a MATLAB license when using the campus VPN?
More like this