I have the code fragment you can see below in my Makefile I'm trying to write
When I run it, it gives me an unexpected end of file error on the first "do"
I've tried to remove the backslashes, remove as many spaces as I can, etc but I still can't seem to get it to work. Responses to most questions like this here involved people either forgetting to include a "done" or having kerning issues. That doesn't seem to be the case in my code
for i in 1 10 25 50 100 1000 10000;\ do\ for j in 1 10 25 50 100 1000 10000;\ do\ ./myprogram --threads=j iterations=i>>myfile.csv;\ done\ done It's supposed to execute the test script above and append the answers to myfile.csv
Instead, I'm getting the following error:
/bin/sh: -c: line 7: syntax error: unexpected end of file make: *** [tests] Error 1 Thanks!
done\(newline)doneevaluated asdonedone, and notdone;done?;after the firstdone. See cider response.