Re: binfmt_script and ^M

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 27 Feb 2001 13:44:08 +0000 (GMT)


> When running a script (perl in this case) that has DOS-style newlines
> (\r\n), Linux 2.4.2 can't find an interpreter because it doesn't
> recognize the \r. The following patch should fix this (untested).

Fix the script. The kernel expects a specific format

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/