]> git.draconx.ca Git - dxcommon.git/commitdiff
tests: Generate gen-options.awk expected output better.
authorNick Bowler <nbowler@draconx.ca>
Mon, 23 Jan 2023 04:23:52 +0000 (23:23 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 23 Jan 2023 05:04:21 +0000 (00:04 -0500)
In the main test group for gen-options.awk, various combinations of
sed and shell line noise are used to create the expected output.

It turns out that at least some versions of Solaris /bin/sed don't
accept patterns like [^\n] as meaning "any character other than
newline", which causes this line noise to fail.  We could perhaps
use /usr/xpg4/bin/sed instead which seems to not have this specific
problem, but let's just do everything in awk which is much simpler.


No differences found