diff options
| author | Matthieu Baerts <[email protected]> | 2022-03-09 11:16:35 -0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-10 12:29:59 -0800 |
| commit | 4bfadd7120a1c5485a9994822242a2a163dc0814 (patch) | |
| tree | 15752994424cb0c7ba30d98a404a4085afcd072c /tools/perf/scripts/python | |
| parent | 1e777bd818bd6417dbdb97676bd9ca259eada8a4 (diff) | |
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 <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions