[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: silence Shellcheck warning
From: |
Nick Bowler |
Subject: |
Re: PATCH: silence Shellcheck warning |
Date: |
Sun, 22 Jul 2018 14:41:34 -0400 |
On 7/21/18, Ben Elliston <address@hidden> wrote:
> This patch silences a warning from Shellcheck about using old-style
> `...` command substitutions.
[...]
> commit 4d35c7aae97234bf055519075ef03cd4090a1dfc
> Author: Ben Elliston <address@hidden>
> Date: Sun Jul 22 08:22:44 2018 +1000
>
> * missing: Use $(..) command substitution syntax.
Several shells do not support $(...) substitutions so portable scripts
like 'missing' must always use backticks. I would suggest that this
linter warning is spurious if not outright counterproductive.
Cheers,
Nick