zeek/src/script_opt
Benjamin Bannier 1f388e3f40 Format shell scripts with shfmt.
All changes in this patch were performed automatically with `shfmt` with
configuration flags specified in `.pre-commit-config.yaml`.

In addition to fixing whitespace the roundtrip through shfmt's AST also
transforms command substitutions

    `cmd`
    # becomes
    $(cmd)

and some redirects

    >&2 echo "msg"
    # becomes
    echo >&2 "msg"
2021-11-24 23:13:02 +01:00
..
CPP Format shell scripts with shfmt. 2021-11-24 23:13:02 +01:00
ZAM clang-format: Set penalty for breaking after assignment operator 2021-09-27 10:49:48 -07:00
Expr.cc clang-format: Set penalty for breaking after assignment operator 2021-09-27 10:49:48 -07:00
ExprOptInfo.h Reformat the world 2021-09-16 15:35:39 -07:00
GenIDDefs.cc clang-format: Set IndentCaseBlocks to false 2021-09-27 10:49:48 -07:00
GenIDDefs.h Reformat the world 2021-09-16 15:35:39 -07:00
IDOptInfo.cc Reformat the world 2021-09-16 15:35:39 -07:00
IDOptInfo.h clang-format: Other include ordering changes 2021-09-27 10:49:48 -07:00
Inline.cc Reformat the world 2021-09-16 15:35:39 -07:00
Inline.h Reformat the world 2021-09-16 15:35:39 -07:00
ProfileFunc.cc clang-format: Set IndentCaseBlocks to false 2021-09-27 10:49:48 -07:00
ProfileFunc.h Reformat the world 2021-09-16 15:35:39 -07:00
Reduce.cc clang-format: Set IndentCaseBlocks to false 2021-09-27 10:49:48 -07:00
Reduce.h Reformat the world 2021-09-16 15:35:39 -07:00
ScriptOpt.cc remove -O add-C++ and -O update-C++ options 2021-11-07 17:02:18 -08:00
ScriptOpt.h remove -O add-C++ and -O update-C++ options 2021-11-07 17:02:18 -08:00
Stmt.cc Reformat the world 2021-09-16 15:35:39 -07:00
StmtOptInfo.h Reformat the world 2021-09-16 15:35:39 -07:00
TempVar.cc Reformat the world 2021-09-16 15:35:39 -07:00
TempVar.h removing -uu functionality and associated script analysis now no longer needed 2021-09-22 11:17:28 -07:00
UseDefs.cc clang-format: Set IndentCaseBlocks to false 2021-09-27 10:49:48 -07:00
UseDefs.h Replace most uses of typedef with using for type aliasing 2021-10-11 14:51:10 -07:00