regress: provide a sed wrapper
commitc206b220ed859d6c8bd3e061fb2668e0caa68d5c
authorThomas Adam <thomas@xteddy.org>
Mon, 4 Oct 2021 21:48:44 +0000 (4 22:48 +0100)
committerThomas Adam <thomas@xteddy.org>
Sat, 9 Oct 2021 00:06:28 +0000 (9 01:06 +0100)
tree4e7ba18f1898d08ce56e2b28c1ef65949f3deb7e
parentfa37079fce1f4b2e6b73ab317c1840a860b56eb4
regress: provide a sed wrapper

In order to portably handle the difference in how 'sed -i' works between
*BSD and Linux, provide a wrapper to invoke the underying system sed(1)
based on which OSTYPE is in use.
regress/cmdline/commit.sh
regress/cmdline/common.sh
regress/cmdline/diff.sh
regress/cmdline/histedit.sh
regress/cmdline/stage.sh
regress/cmdline/status.sh
regress/cmdline/unstage.sh
regress/cmdline/update.sh