A suggestion in changing 'grep' patterns would lead to a false behaviour, if applied as such by the user. The fix is to be more restrictive when suggesting this replacement, specifically the grep context-options -A and -B.
[ { "endline": 569, "file": "./src/ShellCheck/Analytics.hs", "function": "checkPipePitfalls", "module": "ShellCheck.Analytics", "startline": 569 }, { "endline": 572, "file": "./src/ShellCheck/Analytics.hs", "function": "checkPipePitfalls", "module": "ShellCheck.Analytics", "startline": 572 } ]
[ { "endline": 573, "file": "./src/ShellCheck/Analytics.hs", "function": "checkPipePitfalls", "module": "ShellCheck.Analytics", "startline": 573 }, { "endline": 576, "file": "./src/ShellCheck/Analytics.hs", "function": "checkPipePitfalls", "module": "ShellCheck.Analytics", "startline": 576 } ]