diff options
author | 2022-03-09 11:16:35 -0800 | |
---|---|---|
committer | 2022-03-10 12:29:59 -0800 | |
commit | 4bfadd7120a1c5485a9994822242a2a163dc0814 (patch) | |
tree | 15752994424cb0c7ba30d98a404a4085afcd072c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: mptcp: join: clarify local/global vars (diff) | |
download | linux-dev-4bfadd7120a1c5485a9994822242a2a163dc0814.tar.xz linux-dev-4bfadd7120a1c5485a9994822242a2a163dc0814.zip |
selftests: mptcp: join: avoid backquotes
As explained on ShellCheck's wiki [1], it is recommended to avoid
backquotes `...` in favour of parenthesis $(...):
> Backtick command substitution `...` is legacy syntax with several
> issues.
>
> - It has a series of undefined behaviors related to quoting in POSIX.
> - It imposes a custom escaping mode with surprising results.
> - It's exceptionally hard to nest.
>
> $(...) command substitution has none of these problems, and is
> therefore strongly encouraged.
[1] https://www.shellcheck.net/wiki/SC2006
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions