Debian Codegraph @

private/update-bash-builtin-commands

raw
1 #!/bin/sh
2 set -e
3 export LC_ALL=C
4 commands=$(bash -c "help '*'" 2>&1 \
5 | grep -o -E '^[^%: ]+:' \
6 | tr -d : \
7 | xargs
8 )
9
10 sed -r -e "s/(bashBuiltins: strToBoolMap).*$/\1(\"$commands\"),/" -i namecollision.go