migvel / color_trace

Traces multiple color images using potrace. This is similar to Inkscape's Trace Bitmap function.
GNU General Public License v2.0
98 stars 40 forks source link

Carriage return in shebang line #10

Open sgbeal opened 6 years ago

sgbeal commented 6 years ago

Best explained with a demonstration:

[stephan@host:~/src/color_trace]$ ./color_trace_multi.py 
/usr/bin/env: ‘python\r’: No such file or directory

\r characters are Evil.

DrStevenHess commented 5 years ago

dos2unix ./color_trace_multi.py This will fix it.

sgbeal commented 5 years ago

Emacs stripped it out for me. i reported it not because it hindered me but so that person who used a Windows editor for a Unix-executable script could be apprehended and flogged ;).

ignapas commented 3 years ago

https://stackoverflow.com/a/36885829/6797695