sh not finding a file, even though the full path is given

Cameron Hutchison lists at xdna.net
Sun Jun 29 22:10:31 UTC 2008


"Axel Etzold" <AEtzold at gmx.de> writes:

>and this is the  one which doesn't work:

># --------file  tagger-chunker-english

>axel at alecrim:~/sprache/cmd$ cat tagger-chunker-english
>#!/bin/sh

Run file(1) on tagger-chunker-english. Does it say the line endings are
CRLF? I suspect you have a "hidden" ^M at the end of that line so it is
looking for /bin/sh^M . 





More information about the ubuntu-users mailing list