mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2189 (markdown)
@@ -18,7 +18,7 @@ ShellCheck has found a stage in a pipeline that consists of a redirection but no
|
|||||||
|
|
||||||
This is most likely to occur when deleting a command that had a redirection, but leaving a `|` behind instead of moving the redirection to a different command:
|
This is most likely to occur when deleting a command that had a redirection, but leaving a `|` behind instead of moving the redirection to a different command:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
# Match lines with line numbers
|
# Match lines with line numbers
|
||||||
nl < foo.txt | grep bar
|
nl < foo.txt | grep bar
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user