Re: [dev] [sbase] sed 'd' command after 'r' or 'a' (POSIX interpretation question)

2020-01-17 Thread Michael Forney
On 2020-01-17, Quentin Rameau wrote: >> Perhaps we should bring this up on the austin group list and get them >> to clarify the text. > > Done, let's wait and see. Thanks, Quentin! For anyone following, the clarification request is at https://www.austingroupbugs.net/view.php?id=1319

Re: [dev] [sbase] sed 'd' command after 'r' or 'a' (POSIX interpretation question)

2020-01-17 Thread Quentin Rameau
> Perhaps we should bring this up on the austin group list and get them > to clarify the text. Done, let's wait and see.

Re: [dev] [sbase] sed 'd' command after 'r' or 'a' (POSIX interpretation question)

2020-01-17 Thread Evan Gates
On Fri, Jan 17, 2020 at 5:17 AM Michael Forney wrote: > > All the other implementations I looked at *do* insert the contents of the > file. I think that's the important point. We should also check how other commands that "start the next cycle" behave in relation to r. E.g. I could see the same p

Re: [dev] [sbase] sed 'd' command after 'r' or 'a' (POSIX interpretation question)

2020-01-17 Thread Quentin Rameau
> Hello, Hi Michael, > I recently ran into a package (dialog), which uses the following sed > script to generate its dlg_config.h header: > > /@DEFS@/r conftest.frag > /@DEFS@/d > > The intention is to replace @DEFS@ in the header template with the > contents of a file. However, sbase sed skips

[dev] [sbase] sed 'd' command after 'r' or 'a' (POSIX interpretation question)

2020-01-17 Thread Michael Forney
Hello, I recently ran into a package (dialog), which uses the following sed script to generate its dlg_config.h header: /@DEFS@/r conftest.frag /@DEFS@/d The intention is to replace @DEFS@ in the header template with the contents of a file. However, sbase sed skips writing the contents of the fi