per https://github.com/github/docs/blob/main/contributing/content-style-guide.md#callouts
{* note *}
Note: This is a note
{* endnote *}
per https://github.com/github/docs/blob/main/contributing/content-style-guide.md#callouts
{* note *}
Note: This is a note
{* endnote *}
# Simplified hash structure creation/set/get | |
# Based on https://stackoverflow.com/a/2225712/118703, but modified. | |
hashKey() { | |
# replace non-alphanumeric characters with underscore to make keys valid BASH identifiers | |
echo "$1_$2" | sed -E "s/[^a-zA-Z0-9]+/_/g" | sed -E "s/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+\$//g" | |
} | |
hashPut() { | |
local KEY=`hashKey $1 $2` |