get rid of some more gnulinuxisms

to get builds on openbsd going
This commit is contained in:
Mechiel Lukkien
2024-09-14 20:53:21 +02:00
parent 661e77c622
commit 0977b7a6d3
8 changed files with 125 additions and 46 deletions

View File

@ -26,7 +26,7 @@ any parameters. Followed by the help and usage information for each command.
EOF
./mox 2>&1 | sed -e 's/^usage: */\t/' -e 's/^ */\t/'
./mox 2>&1 | sed -e 's/^usage: */ /' -e 's/^ */ /'
echo
./mox helpall 2>&1
@ -80,14 +80,14 @@ See https://pkg.go.dev/github.com/mjl-/sconf for details.
# mox.conf
EOF
./mox config describe-static | sed 's/^/\t/'
./mox config describe-static | sed 's/^/ /'
cat <<EOF
# domains.conf
EOF
./mox config describe-domains | sed 's/^/\t/'
./mox config describe-domains | sed 's/^/ /'
cat <<EOF
@ -102,7 +102,7 @@ EOF
for ex in $(./mox config example); do
echo '# Example '$ex
echo
./mox config example $ex | sed 's/^/\t/'
./mox config example $ex | sed 's/^/ /'
echo
done