Link mentions of SC1042 to its wiki page

John Gardner
2021-12-22 19:40:53 +11:00
parent 96b8aa3c61
commit 1b34fb15b1

@@ -25,7 +25,7 @@ There is a line containing the terminator you've chosen, but it's not by itself
In the example code, the script uses `<<-eof`, which is the operator `<<-` followed by `eof`. The script therefore looks for `eof` and skips right past the intended terminator because it starts with a dash.
You will get some companion SC1042 errors mentioning lines that contain the string as a substring, though they all point to the start of the here document and not the relevant line:
You will get some companion [[SC1042]] errors mentioning lines that contain the string as a substring, though they all point to the start of the here document and not the relevant line:
```
In foo line 4:
@@ -44,4 +44,4 @@ Try to change the line ending into LF.
None.
---
Note that SC1041 and SC1042 swapped numbers after v0.4.6 to improve the display order. This rare instance of number reuse was justified by them always occuring together on the same line.
Note that SC1041 and [[SC1042]] swapped numbers after v0.4.6 to improve the display order. This rare instance of number reuse was justified by them always occurring together on the same line.