Skip to content

Files

Latest commit

 

History

History
25 lines (16 loc) · 421 Bytes

SC1104.md

File metadata and controls

25 lines (16 loc) · 421 Bytes

Pattern: Missing hash for the shebang

Issue: -

Description

You appear to be specifying an interpreter in a shebang, but it's missing the hash part. The shebang must always start with #!.

Example of incorrect code:

!/bin/sh
echo "Hello"

Example of correct code:

#!/bin/sh
echo "Hello"

Further Reading