ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

looking for a tool to conver line endings
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Lucas Braesch



Joined: 31 May 2010
Posts: 1759

PostPost subject: Re: looking for a tool to conver line endings    Posted: Thu Mar 22, 2012 12:58 pm Reply to topic Reply with quote

rvida wrote:
Thanks for all the answers.

I decided to use the sed based solution. It is a wonderful tool, although for people coming from Dos/Windows world the syntax is somewhat obscure...

Btw. after some googling I found a list of very useful sed one liners:
http://sed.sourceforge.net/sed1line.txt

Yes, it's true that regular expressions aren't easy at first. But once you understand how they work, they are so powerful. It's amazing the amount of stuff one can do with grep and sed.
Perl is even more powerful and can do it all, but again one has to learn how to use it. Anyway, whether sed, perl, awk(?), many paths lead to Rome Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
looking for a tool to conver line endings Richard Vida Sun Mar 18, 2012 2:28 pm
      Re: looking for a tool to conver line endings Horacio Montenegro Sun Mar 18, 2012 2:44 pm
      Re: looking for a tool to conver line endings Ignacio Garcia Sun Mar 18, 2012 3:16 pm
      Re: looking for a tool to conver line endings Lucas Braesch Sun Mar 18, 2012 3:30 pm
      Re: looking for a tool to conver line endings Robert Hyatt Sun Mar 18, 2012 4:03 pm
            Re: looking for a tool to conver line endings Ignacio Garcia Sun Mar 18, 2012 5:42 pm
                  Re: looking for a tool to conver line endings Robert Hyatt Mon Mar 19, 2012 3:43 am
      Re: looking for a tool to conver line endings Horacio Montenegro Sun Mar 18, 2012 5:08 pm
      Re: looking for a tool to conver line endings Richard Vida Sun Mar 18, 2012 6:29 pm
            Re: looking for a tool to conver line endings Ignacio Garcia Sun Mar 18, 2012 7:07 pm
            Re: looking for a tool to conver line endings Sven Schüle Sun Mar 18, 2012 11:10 pm
                  Re: looking for a tool to conver line endings Ignacio Garcia Mon Mar 19, 2012 12:37 am
                        Re: looking for a tool to conver line endings Horacio Montenegro Mon Mar 19, 2012 3:45 am
                              Re: looking for a tool to conver line endings Sven Schüle Mon Mar 19, 2012 10:37 am
                        Re: looking for a tool to conver line endings Robert Hyatt Mon Mar 19, 2012 3:47 am
                        Re: looking for a tool to conver line endings Sven Schüle Mon Mar 19, 2012 10:58 am
                              Re: looking for a tool to conver line endings Ignacio Garcia Mon Mar 19, 2012 11:54 am
            Re: looking for a tool to conver line endings Lucas Braesch Thu Mar 22, 2012 12:58 pm
                  Re: looking for a tool to conver line endings Don Dailey Thu Mar 22, 2012 2:15 pm
                        Re: looking for a tool to conver line endings Gary Thu Mar 22, 2012 3:25 pm
                              Re: looking for a tool to conver line endings Don Dailey Thu Mar 22, 2012 4:22 pm
      Re: looking for a tool to conver line endings Don Dailey Mon Mar 19, 2012 1:52 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
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




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads