Skip to content

Files

Latest commit

 

History

History
25 lines (16 loc) · 389 Bytes

SC1084.md

File metadata and controls

25 lines (16 loc) · 389 Bytes

Pattern: Use of !# for the shebang

Issue: -

Description

The shebang has been accidentally swapped. The # should come first: #!, not !#.

Example of incorrect code:

!#/bin/sh
echo "Hello World"

Example of correct code:

#!/bin/sh
echo "Hello World"

Further Reading