RE: install the Korn SHELL program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear.
I tried to add the 'dos2linux', but it doesn't work.
Actually I executed the same file on my former linux computer without any
error message.
But I reinstalled the linux, then it occurred the error.
I attached the 'filter' and please check up.

Thank you

Best regards,

Yongjoo CHOI

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-
bounces@xxxxxxxxxx] On Behalf Of David Chipman
Sent: Wednesday, October 01, 2008 1:10 PM
To: fedora-list@xxxxxxxxxx
Subject: Re: install the Korn SHELL program

On Wed, 1 Oct 2008 10:26:35 +0900
______ <choingjoo@xxxxxxxxxx> wrote:

> Dear.
> 
> I installed the ksh program using yum.
> 
> >yum install ksh
> 
> Then executed the program as I made for test, but error echoed,
> 
> >./filter
> 
> Bash : ./filter:/bin/ksh^M: bad interpreter: No such file or directory
> 
>  
> 
> What is the problem?
> 
> Thank you
> 
>  
> 
> Yongjoo CHOI
> 

Hi Yonjoo, 

Try running the script file through 'dos2unix' first. That Control-M
(^M") at the end of the line that the error message quoted shouldn't 
be there, but it is used as part of the line-end sequence on
DOS and MS Windows. Good luck!

-David Chipman

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Attachment: filter
Description: Binary data

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux