Various minifier scripts exist for shell code, (e.g. bash-minifier), but how about the reverse?
Are there any shell-centric utils or scripts to automatically turn a one-liner like this:
echo foo;echo bar;echo "baz;bing";echo 'buz;bong'...into this:
echo foo echo bar echo "baz;bing" echo 'buz;bong'Or turn minimalist logic like this:
true && echo foo...into this:
if true ; then echo foo fi