LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-18-2002, 11:03 AM   #1
max_linuxquesti
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
Angry compile files copied from windows


I have copied some text files to CD from windows, mainly C/C++ files amd makefiles.
I can edit them without no problem with emacs. The status bar of
emacs shows DOS file.
The problems come when I tried to compile them using makefile.
Makefile fails because , I think, those hiden charactors at the end.
I have redhat linux but I could not find unix2dos commands.
Suggestions?
 
Old 12-18-2002, 11:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
surely you want dos2unix and not unix2dos. jsut search on rpmfind.net for the utilities.
 
Old 12-18-2002, 05:46 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
http://dosunix.sourceforge.net/

Just one out of many ... nothing freshmeat or google
wouldn't have found.

but then ...

In Emacs, just do Ctrl-x RET f unix RET
:P

I'd be angry with myself too if I couldn't use my tool :}

Cheers,
Tink

Last edited by Tinkster; 12-18-2002 at 05:52 PM.
 
Old 12-19-2002, 01:55 PM   #4
max_linuxquesti
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
I got dosunix package from rpmfind.com. Everything works fine now.
Thanks to everyone.
 
Old 12-19-2002, 02:00 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Happy coding then, I guess ;)

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compacting copied DVD files daihard Linux - Software 2 07-10-2005 08:52 PM
files being copied into root mercy420 Slackware 1 06-18-2005 07:23 AM
Windows files copied to my linux partition are locked when logged in as a normal user necbrownie Slackware 8 10-15-2004 08:11 AM
The 'modified times' of files and folders is reset when copied from windows to linux? crazyswede Linux - Newbie 7 03-02-2004 08:53 AM
No files are copied to disk capodan Slackware 2 05-19-2003 03:54 AM


All times are GMT -5. The time now is 02:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration