#!/bin/sh
set -e
export LC_ALL=C
commands=$(bash -c "help '*'" 2>&1 \
| grep -o -E '^[^%: ]+:' \
| tr -d : \
| xargs
)

sed -r -e "s/(bashBuiltins:   strToBoolMap).*$/\1(\"$commands\"),/" -i namecollision.go
