-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2286
Vidar Holen edited this page Jun 6, 2021
·
1 revision
jq
''
file.json
jq \
'' \
file.json
ShellCheck found an empty string used as a command name. This is never valid.
If the command is intended to do nothing, use true
aka :
instead. Otherwise, determine why an empty string ended up as a command name and fix it accordingly. In the example, each line was interpreted as a separate command due to missing line continuations.
None
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!