SC2273 – ShellCheck Wiki

See this page on GitHub


Sequence of ===s found. Merge conflict or intended as a commented border?

Problematic code:


Correct code:

Either resolve the merge conflict, or use # ======= for a border


ShellCheck found a series of =======s. If this was supposed to be a border or separator, use a comment.

However, it could also be left behind from a source control merge conflict:

<<<<<<< HEAD
echo "Goodbye World"
echo "Hello World!"
>>>>>>> mybranch

In this case, make sure the merge conflict is correctly resolved, and all the markers removed.



ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.