/
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
Why can't I login graphically? : Going over quota
Why can't I login graphically? : Going over quota
More like this
Digital Piracy
Digital Piracy
More like this
2024-07-11: UCPath Notice – Self-Identifying Gender Identity, Sexual Orientation, and Pronouns in UCPath (On Behalf of UCPath Center)
2024-07-11: UCPath Notice – Self-Identifying Gender Identity, Sexual Orientation, and Pronouns in UCPath (On Behalf of UCPath Center)
More like this
UCSB Jamf - Manual Enrollment Procedure
UCSB Jamf - Manual Enrollment Procedure
More like this
Microsoft Visual Studio Code Issues
Microsoft Visual Studio Code Issues
More like this
How to use Slurm
How to use Slurm
More like this