You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If pattern is an empty string, this will turn into the string "echo 'hello' | grep "
Executing that will cause grep to error, because the shell interprets it as no argument. It seems like the expected behavior would be to call grep with an empty string argument, i.e. "echo 'hello' | grep ''"
The text was updated successfully, but these errors were encountered:
For example:
If
pattern
is an empty string, this will turn into the string"echo 'hello' | grep "
Executing that will cause grep to error, because the shell interprets it as no argument. It seems like the expected behavior would be to call grep with an empty string argument, i.e.
"echo 'hello' | grep ''"
The text was updated successfully, but these errors were encountered: