[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: Improve POSIX conformance in dejagnu(1)

From: Jacob Bachmeyer
Subject: Re: PATCH: Improve POSIX conformance in dejagnu(1)
Date: Sat, 29 Dec 2018 00:31:41 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090807 MultiZilla/ SeaMonkey/1.1.17 Mnenhy/

Ben Elliston wrote:
On Fri, Dec 28, 2018 at 06:46:47PM -0600, Jacob Bachmeyer wrote:
This patch removes the one use of semicolon in a sed(1) program in
the dejagnu(1) multi-launcher.
Thanks. It's also just clearer!

BTW, do you know about the --posix option to sed?

In this case that would be unlikely to help: POSIX explicitly allows using semicolon as a command separator as an extension. :-) (It also seems to be historical practice: configure itself uses this feature.)

Also, various GNU programs have differing notions of what "POSIX mode" is. For example, GNU Awk seems (as far as I have looked so far) to actually be POSIX Awk if --posix is given, but bash is well-known for still offering GNU extensions even when "POSIX mode" is selected. Bash POSIX mode only guarantees that a script written to POSIX will run, not that scripts that run under "bash --posix" will actually also run under a POSIX shell. >-<

-- Jacob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]