knrafto / language-bash

Parse and pretty-print Bash shell scripts
BSD 3-Clause "New" or "Revised" License
35 stars 9 forks source link

improve case clause printing #8

Closed jfoutz closed 9 years ago

jfoutz commented 9 years ago

Hi, sorry if this is a little out of the blue. I'm fiddling with a sort of bash linter for some scripts i inherited. case clauses currently pretty print oddly,

foo)
    #stuff
    ;; bar)

this PR should format them like this

foo)
    #stuff
    ;;
bar)

anyway, very minor issue, thought it would be helpful.

knrafto commented 9 years ago

Thanks! If you have any other suggestions I'd be happy to merge them too.