[PATCH 2/2] sed: terminate branch commands at }
Csókás Bence
csokas.bence at prolan.hu
Wed Mar 5 13:27:26 UTC 2025
Hi,
On 2025. 03. 05. 14:05, Harald van Dijk wrote:
> On 05/03/2025 12:57, Csókás Bence wrote:
>> Hi,
>>
>> On 2025. 03. 05. 5:38, Jeremy Drake wrote:
>>> in GNU sed, `echo foo | sed -e '/bar/{b};d'` is valid, but in busybox
>>> sed would fail with unmatched {.
>>
>> I beg to differ:
>> $ echo foo | sed -e 'bar{b};d'
>
> You changed the test. The original message had /bar/, not bar.
Ah, Thunderbird swallowed the slashes as formatting... With the correct
test-case I could reproduce the original report.
Bence
More information about the busybox
mailing list