Pattern: Use of !#
for the shebang
Issue: -
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"
Pattern: Use of !#
for the shebang
Issue: -
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"