If `regex` begins with an hyphen, `grep` treats it as an option and treats `file` as the regular expression. This leads to `grep` trying to read from the standard input and making it wait infinitely. This patch adds the missing argument breaker `--` and allows `regex` to begin with an hyphen (provided it is called correctly).remotes/origin/AnotherKamila-patch-1
parent
3397bcbf9b
commit
fc8dded8e9
Loading…
Reference in new issue