I have bash scripts from AOSP build log which is very long single line and combine numerous commands with
(...) && (...) ... && (...)
and each command can be complex script that includes if/else/etc.
Is there a bash script editor that I can paste such script then it auto formats it to a readable multiline and indented form?
Scripts/applications that can format from stdin to stdout is useful,too.