"Bob Showalter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > John Doe wrote: > > ... > > When i run script i recive error: > > # ./check-size.pl > > > bad interpreter: No such file or directory > > This can be caused by the file containing DOS-style line endings. If the > first line is: > > #!/usr/bin/perl<CR><LF> > > the kernel will include the <CR> as part of the file name and try to execute > "/usr/bin/perl<CR>", and will report that no such file exists.
Thank you, this is the problem. I so many times delete shell line with vi and rewrite again... and now after your post i open file with mc editor and i see that contain after perl<CR><LF>. I removed and problem is resolved. Regards, John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>