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

Re: install the Korn SHELL program



최용주 wrote:
> I created the file on 'gedit'
> Then change the mod for execution.
> Chmod u+x filter
>
> And what is the 'dos2unix' filter.
> I only know about dos2unix is to change the dos program.
>   
Do a "man dos2unix" to see what it is....  "OS/MAC to UNIX text file
format converter".

If your file has extraneous characters at the end of the line you will
see the problem you are seeing. 

As I said, I suspect your "filter" script has "^M" at the end of the
lines. 

Do you know how to use "vi"?


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