marktabler / untab

Simple script to change hard tabs and windows-style newlines to spaces and Unix-style newlines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Untab

Untab is a simple utility for conversion of Windows-style Ruby source files to Unix-style Ruby source files.

Usage: untab <filename>

Untab will automatically back up your file with the extension .ut_bak

Untab will replace a hard tab with two spaces, and will replace the Windows-style newline \r\n with the Unix style newline \n.

Enjoy!

About

Simple script to change hard tabs and windows-style newlines to spaces and Unix-style newlines


Languages

Language:Ruby 100.0%