Avoid GNUism '\|' by using extended REs.
commitb8e430071bd4a05b740a00bf201ef30140a4a11f
authorSven M. Hallberg <pesco@khjk.org>
Tue, 16 May 2023 19:14:22 +0000 (16 19:14 +0000)
committerRoland Lutz <rlutz@hedmen.org>
Sun, 21 May 2023 16:41:51 +0000 (21 18:41 +0200)
tree6be4c725138e10e050824da2628011d06427875d
parent5b3a0df1b59013a65c1b532b307ab6fd989dbfbc
Avoid GNUism '\|' by using extended REs.

The script gnetlist-legacy/tests/run-test uses sed with a basic regular
expression that contains the backslashed '\|' (alternative) operator.
This is a GNU extension and not available at least on OpenBSD.

This patch avoids the issue by simply using an extended regular
expression.

Closes-bug: lp-2019898
gnetlist-legacy/tests/run-test