Skip to content

Instantly share code, notes, and snippets.

@pbhj
Created April 1, 2021 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbhj/cd6bd6b83a1ccbaaf55b7f870e16b9d4 to your computer and use it in GitHub Desktop.
Save pbhj/cd6bd6b83a1ccbaaf55b7f870e16b9d4 to your computer and use it in GitHub Desktop.
In ./convertpage.sh line 99:
if [ -d "$outdir" -a -d "$outdirmd" ]
^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
In ./convertpage.sh line 99:
if [ -d "$outdir" && -d "$outdirmd" ]
^-- SC2107: Instead of [ a && b ], use [ a ] && [ b ].
For more information:
https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q...
https://www.shellcheck.net/wiki/SC2107 -- Instead of [ a && b ], use [ a ] ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment