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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!