mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Link mentions of SC1042
to its wiki page
@@ -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.
|
||||
|
Reference in New Issue
Block a user