LineConv

You are here:  SillyDog701 > Message Centre > SD701 DevZone > [sdt=14060]
SillyDog701 Forums
Author Message
Don_HH2K
Moderator


Joined: 09 May 2004
Posts: 4792
22 Oct, 2007 8:22 pm LineConv [sdp=88108]  

If you program on a Windows box you'll probably find these tools useful. LineConv is comprised of two tools. unix2dos converts UNIX-like LF line endings to DOS-like CRLF line endings. The result is that you'll be able to access the files from more ordinary text editors like Notepad without having to resort to more power-hungry editors like Visual Studio. dos2unix does the inverse. Both were inspired by their respective Python equivalents.

You can grab the version 1.0 binaries here and the GPLed Visual Basic source here.

The tools are written using the .NET Framework 2.0. Vista has this preinstalled. If you're on an earlier operating system and don't already have it installed, you can grab the installer from the Microsoft Download Center.

I'm thinking of implementing a recursive feature in future releases, so that one can change the line endings of all applicable files in a single directory or entire directory tree.

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.8) Gecko/20071012 BonEcho/2.0.0.8 (ayakawa SSE2-PGU)

Laptop: Turion 64 X2 @ 2GHz, 2GB DDR2-667, 100GB HD, ATI Radeon X300, 15" LCD, Seven Professional RTM
Back to top profile website
Display posts from previous:   
Reply to topic    Forum Index > SD701 DevZone All times are CST (GMT -6)
page 1 of 1
To add your questions, comments, and for more features and more, please join SillyDog701 Message Centre. It's free! This is SillyDog 701 Message Centre (SD701 Forums).

Michael Jackson Thriller 25 iTunes

*Search | FAQ | Rules and Policies | MozInfo701 - Mozilla Information Centre | SD701 Open Directory | Message Board Map | download Netscape