Re: binfmt_script and ^M

From: Alan Cox (
Date: Tue Feb 27 2001 - 08:54:40 EST

> > > (\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
> For what reason? Is it a standard to not allow it, or does it break
> other things?

The line terminator is \n so if you have


Then the command to run is "/usr/bin/perl\r" - and \r is a valid file name

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:14 EST