Skip to content

A (probably) inefficient script to convert source code using tabs to spaces

Notifications You must be signed in to change notification settings

billturner/tabs2spaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

A simple, inefficient way to recursively convert a directory full of source code files from using tabs to spaces.

Call from the command line, passing the directory path along as the first and only argument:

    tabs2spaces /path/to/convert/the/files

Otherwise, it will default to the /tmp directory.

If you can find a better way to do the actual conversion, I'll gladly change it (or change it yourself and send me a pull request). For some reason the expand command won't let you write the output back to the file itself.

About

A (probably) inefficient script to convert source code using tabs to spaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages