$ echo -e '#!/usr/bin/env -S perl\r\nprint "Foo!\\n";' > foo.pl
$ chmod 755 foo.pl
$ ./foo.pl
/usr/bin/env: ‘perl\r’: No such file or directory
In reply to Re^3: CR/LF in bin
by dk
in thread CR/LF in bin
by dk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |