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
So I was converting a bunch of __fish_sgrep uses and noticed that the equivalent string match only prints the portion of the line matching the pattern. That is, string match default behavior is equivalent to __fish_sgrep -o (i.e., grep -o). Rather than forcing people to prefix and append extra wildcard characters so the entire string/line is printed it would be nice if there was a flag to request the entire string (or line) be printed.
See also issue #3956 which I mistakenly opened thinking the default behavior is what I'm requesting here due to an unrelated problem in converting a use of __fish_sgrep.
The text was updated successfully, but these errors were encountered:
I am going to implement similar logic for string replace --filter in the next few days to resolve issue #3348. Both changes will make using the string command in fish 2.6.0 "friendlier".
So I was converting a bunch of
__fish_sgrep
uses and noticed that the equivalentstring match
only prints the portion of the line matching the pattern. That is,string match
default behavior is equivalent to__fish_sgrep -o
(i.e.,grep -o
). Rather than forcing people to prefix and append extra wildcard characters so the entire string/line is printed it would be nice if there was a flag to request the entire string (or line) be printed.See also issue #3956 which I mistakenly opened thinking the default behavior is what I'm requesting here due to an unrelated problem in converting a use of
__fish_sgrep
.The text was updated successfully, but these errors were encountered: