Re: Fix handling of ed addresses consisting only of separators

2023-01-29 Thread Sören Tempel
Hi, I've been using this patch for the past 6 months and haven't noticed any regressions. However, during this timespan I became aware of additional POSIX compatibility issues in OpenBSD ed: `3 2p` as well as addresses with interleaved `,` and `;` separators (e.g. `1,;`) are also evaluated

Re: Fix handling of ed addresses consisting only of separators

2022-06-19 Thread Sören Tempel
PING. I have executed the ed tests (available in bin/ed/test) with this patch applied and the proposed patch doesn't seem to introduce any new regressions. If the patch needs to be revised further, please let me know. The only thing I can think of right now is that it might make sense to rename

Fix handling of ed addresses consisting only of separators

2022-05-22 Thread Sören Tempel
Hello, The POSIX specification of ed(1) includes a table in the rationale section which (among others) mandates the following address handling rules [1]: Address Addr1 Addr2 ,, $ $ ;; $ $ Unfortunately, OpenBSD does not correctly handle these two