You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a snippet or screenshot that shows the problem:
#!/bin/bashlocal count="$(aws s3api list-buckets --output text --query 'Buckets[?starts_with(Name,`'"$bucketPattern"'`)].Name'| wc -w)"
Here's what shellcheck currently says:
SC2006 (style): Use $(...) notation instead of legacy backticks ...
Here's what I wanted or expected to see:
No warning, The backticks are in two separate strings with even a variable in between. AWS CLI requires this syntax with backticks in --query parameter. Basically this combines a double quoted string containing a single quote and a backtick with a variable and a second string closing backticks and single quote.
The text was updated successfully, but these errors were encountered:
For bugs
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
SC2006 (style): Use $(...) notation instead of legacy backticks
...
Here's what I wanted or expected to see:
No warning, The backticks are in two separate strings with even a variable in between. AWS CLI requires this syntax with backticks in --query parameter. Basically this combines a double quoted string containing a single quote and a backtick with a variable and a second string closing backticks and single quote.
The text was updated successfully, but these errors were encountered: