Comparison for bash files/scripts does not understand the heredoc syntax.
If there is a SINGLE QUOTE character, inside a heredoc, beyond compare treats it as an opening quote, and the remainder of the file (or up to the next quote - what would look like a closing quote).
Therefore, the comparison shows diff where there is none:
(Attaching the two files used to create this screenshot. Please rename the files to have .sh extension, so beyondcompare recognizes them as shell scripts.)
If there is a SINGLE QUOTE character, inside a heredoc, beyond compare treats it as an opening quote, and the remainder of the file (or up to the next quote - what would look like a closing quote).
Therefore, the comparison shows diff where there is none:
(Attaching the two files used to create this screenshot. Please rename the files to have .sh extension, so beyondcompare recognizes them as shell scripts.)
Comment