Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Matteo Marchelli
I wrote a Ruby beautifier script a few years ago and it has become very popular. I decided to rework it to beautify Bash scripts, even though I realized that Bash shell scripts are much more free-form than Ruby programs. This project is the result — a Bash script beautifier written in Ruby. I have tested the script on a lot of typical Linx scripts, both my own and from the system. While testing I have reluctantly come to the conclusion that there are too many perverse ways people write Bash scripts for this program to ever correctly beautify 100% of submitted scripts. Maybe 99%, but never 100%. - Matteo Marchelli