1 SC1127
koalaman edited this page 2018-01-17 18:25:44 -08:00

Was this intended as a comment? Use # in sh.

Problematic code:

// This is a comment.
/* This too. */

Correct code:

# This is a comment.
# This too.

Rationale:

ShellCheck found what appears to be a C-style comment, a line starting with // or /*.

In Bourne based shell scripts, the comment character is #

Exceptions:

None.