Skip to content

rev-ind is a bash script to cleanly reverse-indent any file

Notifications You must be signed in to change notification settings

andymasteroffish/rev-ind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

rev-ind

rev-ind is a bash script to cleanly reverse-indent any file.

I created this tool because I was sick of reverse-indenting by hand. Simply specify the input file and the output file and rev-ind will invert the indentation of your program.

An example of rev-ind being used on some nasty, terrible to look at code

Usage

./rev-ind.sh my_bad_old_code.js my_very_good_code.js

Afterword

This is my first bash script and I am completely uninterested in feedback. Do not waste your time or mine.

However, if you would like to tell me about how rev-ind has improved your workflow/changed your life, please hit me up on twitter @andy_makes

About

rev-ind is a bash script to cleanly reverse-indent any file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages