maddenj at csn.ul.ie
Wed Nov 7 11:58:55 GMT 2001
On Wed, 7 Nov 2001 James.Chambers at irishlife.ie didst pronounce:
>if I create a text file in notepad on windows, is it possible to make it
>executable on linux, I tried chmod +x and changing the owner of the file. No
>matter what I did it wouldn't execute for me.
Do you mean that you wrote a perl script or something like that
in notepad in windows and want to execute it or do you just want
to read the text file?
Linux will read a plain text file, no matter what it was written
with. The different editors will open it easily (vim, pico,
emacs) or you can scroll through it with cat filename | more.
However, notepad does put the
at the end of each line so if
it's a program (perl, c, etc.) they won't compile properly and
will give errors. So, open up the file with vim (vim filename),
to get rid of them. Then save the file and recompile it.
Chat ya later,
BOFH excuse #1: clock speed
More information about the ILUG