Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remove ^M from source files?? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
nr5
n00b
n00b


Joined: 19 Jan 2006
Posts: 57

PostPosted: Thu Nov 16, 2006 3:55 pm    Post subject: Remove ^M from source files?? [solved] Reply with quote

Hello!

Im having trubble with mysql-query-browser. After applying a pach I learned that the developers built the source in Windows leaving an ^M at the end of all the source files and in order to make my pach build correctly i for some reason (that is not known to me) :) have to remove the ^M from all the source files... (im following instructions) :)

My question is: How do I remove the ^M quicly without having to go through every line in every file manually...??

Thanks


Last edited by nr5 on Thu Nov 16, 2006 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Thu Nov 16, 2006 4:15 pm    Post subject: Reply with quote

Code:
emerge -a dos2unix unix2dos
Back to top
View user's profile Send private message
nr5
n00b
n00b


Joined: 19 Jan 2006
Posts: 57

PostPosted: Thu Nov 16, 2006 4:17 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Nov 16, 2006 8:48 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of Problems with ^M in files.
_________________
KDE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum