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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.