| Summary: | sed: the substitute command ignores the g flag if the supplied pattern starts with '^' | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | yvt <i> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.33.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
yvt
2020-07-01 04:03:23 UTC
I'm still seeing this in 1.33.1 and master. However, removing the (updated version of) the commit mentioned by the OP does not fix echo 'a b c' | sed -E 's/^a|b|c/d/g' ... but neither does it break `echo "aah" | sed 's/^a/b/g'` |