Skip to content

Windows, UNIX, Macos end line converter like legacy unix2dos

License

Notifications You must be signed in to change notification settings

hwoy/Lazy.unix2win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy.unix2win

  • 2w is Mac or UNIX to Windows file converter.
  • 2u is Mac or Windows to UNIX file converter.
  • 2m is Windows or UNIX to Mac file converter.

About Lazy.unix2win

  • My first Haskell programming.
  • Created for proof my Haskell skill.
  • unix2dos can convert UNIX file to Dos file.
  • 2w can convert any(UNIX or Mac) to Dos file.
  • Dos/Windows end line = CR(13) and LF(10)
  • UNIX/linux end line = LF(10)
  • Modern Mac end line = CR(13)

How to build version 1

$ cabal build

How to build version 2

$ runhaskel Setup.hs configure --prefix="install directory"
$ runhaskel Setup.hs build
$ runhaskel Setup.hs install

About

Windows, UNIX, Macos end line converter like legacy unix2dos

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published